:root {
  --ink: #242322;
  --muted: #79736f;
  --rose: #a06071;
  --pink: #f7e9e8;
  --line: #eae5e1;
  --cream: #fcfaf7;
  --radius: 8px;
}
.admin-mode { background: #f3f5f9; --ink: #202b40; --muted: #758096; --line: #e3e8f0; --rose: #5369db; }
.control-shell { display: flex; min-height: 100vh; }
.control-sidebar { width: 248px; flex-shrink: 0; padding: 32px 18px 18px; background: #101827; color: #9eaac0; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.control-brand { color: #fff; font-size: 30px; font-weight: 750; letter-spacing: -1.7px; padding: 0 16px; }
.control-brand > span { color: #8ea1ff; }
.control-brand small { display: block; margin-top: 8px; font: 10px monospace; letter-spacing: 2.3px; color: #7b89a5; }
.control-nav-label { margin: 44px 16px 14px; font: 10px monospace; letter-spacing: 1.6px; color: #64738d; }
.control-sidebar nav { display: grid; gap: 6px; }
.control-sidebar button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 14px; border-radius: 7px; font-size: 13px; }
.control-sidebar button:hover { background: #1b2639; color: #fff; }
.control-sidebar button.selected { background: #253355; color: #b6c5ff; box-shadow: inset 3px 0 #8a9cff; }
.control-sidebar .icon { width: 18px; height: 18px; }
.control-sidebar-bottom { margin-top: auto; padding-top: 40px; }
.control-sidebar-bottom button .icon:last-child:not(:first-child) { margin-left: auto; width: 14px; }
.control-profile { display: flex; align-items: center; gap: 10px; border-top: 1px solid #263044; margin-top: 20px; padding: 22px 8px 0; }
.control-profile > span { width: 34px; height: 34px; border-radius: 8px; background: #2a3655; color: #bdcaff; display: grid; place-items: center; font-weight: 600; }
.control-profile b { font-size: 12px; color: #dce3ef; }
.control-profile small { display: block; margin-top: 5px; font-size: 10px; overflow-wrap: anywhere; }
.control-workspace { flex: 1; min-width: 0; }
.control-topbar { height: 72px; padding: 0 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-bottom: 1px solid #e3e8f0; }
.control-topbar > div { display: flex; align-items: center; gap: 16px; font-size: 12px; }
.control-topbar > div > span { color: #8a95a8; }
.control-topbar b { font-weight: 500; }
.control-access { display: flex; align-items: center; gap: 7px; color: #67748a; font-size: 11px; }
.control-access .icon { width: 15px; }
.control-main { padding: 36px 38px 20px; max-width: 1550px; margin: auto; }
.control-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; }
.control-heading p { font: 10px monospace; letter-spacing: 1.7px; color: #7a89a1; margin: 0 0 10px; }
.control-heading h1 { font-family: Arial, Helvetica, sans-serif; font-size: 28px; letter-spacing: -.8px; margin: 0 0 9px; }
.control-heading > div > span { color: #7b879a; font-size: 13px; }
.control-refresh { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #dce2ec; border-radius: 6px; background: #fff; font-size: 12px; }
.control-refresh .icon { width: 15px; }
.control-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 26px; }
.control-metrics article { border: 1px solid #e1e6ef; border-radius: 9px; background: #fff; padding: 22px; }
.control-metrics article > div { display: flex; align-items: center; gap: 10px; color: #7b879a; font-size: 12px; }
.control-metrics .icon { width: 17px; color: #677cdd; }
.control-metrics strong { display: block; font-size: 32px; font-weight: 600; margin: 22px 0 9px; letter-spacing: -1px; }
.control-metrics small { color: #8b96a8; font-size: 10px; }
.control-panel { border: 1px solid #e1e6ef; border-radius: 9px; background: #fff; margin-bottom: 24px; padding: 24px; }
.control-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.control-panel h2 { font-family: Arial, Helvetica, sans-serif; font-size: 15px; letter-spacing: -.2px; margin: 0; }
.control-panel-heading > span { color: #8793a6; font-size: 11px; }
.control-panel-heading button { display: flex; align-items: center; gap: 7px; color: #5369db; font-size: 12px; }
.control-panel-heading button .icon { width: 14px; }
.control-integrations { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.control-integrations > div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; border: 1px solid #edf0f5; border-radius: 7px; padding: 18px; }
.control-integrations .icon { width: 19px; color: #7788bf; }
.control-integrations b { display: block; font-weight: 500; font-size: 12px; }
.control-integrations small { display: block; margin-top: 7px; color: #8b96a8; font: 11px monospace; }
.control-badge, .control-panel-heading > .control-badge { border-radius: 5px; background: #edf8f3; color: #328465; padding: 5px 8px; font-size: 10px; white-space: nowrap; }
.control-integrations .control-badge { margin-left: auto; }
.control-badge.warning, .control-panel-heading > .control-badge.warning { color: #a77921; background: #fff7e6; }
.control-empty { padding: 38px 18px; text-align: center; color: #8c98aa; font-size: 13px; }
.control-panel .search-history { margin: 0; }
.control-panel .search-history > div { background: #fff; border-bottom: 1px solid #edf0f5; }
.control-panel .search-history > div:last-child { border-bottom: 0; }
.control-panel .search-history small { color: #8b96a8; }
.control-panel.admin-integration { margin-top: 0; }
.control-panel .settings-form { max-width: 620px; margin-top: 26px; }
.control-panel .settings-form label { color: #4b5970; font-size: 12px; }
.control-panel .settings-form input { background: #f9fafc; border-color: #dfe5ef; border-radius: 6px; }
.control-panel .settings-form small { color: #8b96a8; }
.control-panel .button.dark { background: #5369db; border-radius: 6px; font-size: 12px; }
.control-availability { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #edf0f5; }
.control-availability h3 { font: 600 13px Arial, sans-serif; margin: 0; }
.control-availability p { font-size: 12px; margin: 9px 0 0; }
.control-availability .switch-label { margin: 0; padding: 0; font-size: 12px; }
.admin-mode input[type=checkbox] { accent-color: #5369db; }
.control-panel table { font-size: 12px; }
.control-panel th { background: #f7f9fc; color: #78869b; font-size: 10px; letter-spacing: .6px; }
.control-panel .role-tag { background: #eef1fc; color: #6072b8; }
.control-footnote { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; color: #929eb0; font: 10px monospace; }
@media(max-width:1100px) { .control-metrics { grid-template-columns: repeat(2,1fr); } .control-integrations { grid-template-columns: 1fr; } .control-sidebar { width: 220px; } }
@media(max-width:700px) { .control-shell { flex-direction: column; } .control-sidebar { position: static; height: auto; width: 100%; padding: 20px 16px 12px; } .control-brand { padding: 0; font-size: 25px; } .control-brand small { display: inline; margin-left: 16px; letter-spacing: 1.3px; } .control-nav-label, .control-profile { display: none; } .control-sidebar nav { display: flex; overflow-x: auto; margin-top: 20px; gap: 8px; } .control-sidebar nav button { width: auto; white-space: nowrap; font-size: 11px; padding: 10px; } .control-sidebar-bottom { display: flex; padding-top: 10px; margin: 0; } .control-sidebar-bottom button { width: auto; font-size: 11px; padding: 10px; } .control-topbar { padding: 0 20px; height: 54px; } .control-access { font-size: 0; } .control-main { padding: 26px 18px 18px; } .control-heading h1 { font-size: 24px; } .control-heading > div > span { font-size: 11px; } .control-refresh { padding: 9px; font-size: 11px; } .control-metrics { gap: 10px; } .control-metrics article { padding: 16px; } .control-metrics article > div { font-size: 10px; gap: 6px; } .control-metrics strong { font-size: 28px; margin-top: 18px; } .control-panel { padding: 18px; } .control-panel-heading > span { font-size: 10px; } .control-footnote { font-size: 9px; flex-direction: column; gap: 8px; } }
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ab6c83;
  outline-offset: 4px;
}
.wrap {
  max-width: 1320px;
  width: calc(100% - 96px);
  margin: auto;
}
.icon {
  flex-shrink: 0;
  vertical-align: middle;
}
.announcement {
  height: 34px;
  background: #252322;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1px;
}
.announcement .icon {
  width: 12px;
  height: 12px;
  color: #e6b9c3;
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-main {
  height: 98px;
  display: flex;
  align-items: center;
  gap: 65px;
}
.brand {
  font-size: 43px;
  font-weight: 750;
  letter-spacing: -3px;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
}
.brand span {
  font-weight: 300;
}
.brand sup {
  font-size: 19px;
  position: relative;
  top: -11px;
  color: #a37384;
  letter-spacing: 0;
  margin-left: 4px;
}
.header-search {
  display: flex;
  align-items: center;
  background: #f7f5f3;
  border: 1px solid #eee9e5;
  border-radius: 5px;
  flex: 1;
  padding: 0 16px;
  height: 45px;
  gap: 13px;
}
.header-search .icon {
  color: #8d817e;
  width: 18px;
}
.header-search input {
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
  flex: 1;
  color: #39322f;
  font-size: 12px;
}
.header-search button {
  padding: 5px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-actions button {
  display: flex;
  align-items: center;
  position: relative;
  padding: 4px;
}
.header-actions .account-button {
  gap: 9px;
  font-size: 11px;
}
.badge-count {
  font-size: 10px;
  position: absolute;
  right: -5px;
  top: -7px;
  color: var(--rose);
}
.category-nav {
  height: 50px;
  display: flex;
  gap: 36px;
  align-items: stretch;
}
.category-nav button {
  font-size: 12px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
}
.category-nav button.active {
  border-color: #282322;
}
.category-nav .icon {
  width: 13px;
  height: 13px;
}
.category-nav .nav-ai {
  margin-left: auto;
  color: #8f5a70;
}
.hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 470px;
  background: var(--pink);
  position: relative;
  overflow: hidden;
}
.hero-copy {
  padding: 55px 0 48px 55px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0 0 17px;
}
.eyebrow .icon {
  width: 15px;
  height: 15px;
  color: var(--rose);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -1.8px;
  margin-bottom: 23px;
}
.hero h1 em {
  font-weight: 400;
  color: #8d5c6a;
}
.hero-copy > p {
  font-size: 13px;
  color: #756461;
  line-height: 1.8;
  margin-bottom: 26px;
}
.button {
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 20px;
  text-decoration: none;
  font-size: 11px;
  background: #f6efed;
  font-weight: 500;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.button.dark {
  background: #262322;
  color: white;
}
.button:hover {
  filter: brightness(0.95);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #877571;
  font-size: 9px;
  margin-top: 21px;
}
.hero-note .icon {
  width: 13px;
  height: 13px;
}
.hero-visual {
  position: relative;
  min-width: 0;
  background: radial-gradient(ellipse at 65% 60%, #ebc8c5 0%, transparent 65%);
}
.hero-orbit {
  position: absolute;
  width: 365px;
  height: 365px;
  border: 1px solid #dbb6b5;
  border-radius: 50%;
  top: 70px;
  left: 12%;
}
.hero-orbit:before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid #dfbcba;
  border-radius: 50%;
}
.hero-script {
  position: absolute;
  right: 40px;
  top: 32px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.2;
  transform: rotate(-8deg);
  color: #916965;
  z-index: 2;
}
.hero-perfume {
  position: absolute;
  left: 23%;
  top: 135px;
  width: 200px;
  height: 250px;
  transform: rotate(-9deg);
  z-index: 2;
}
.hero-blush {
  position: absolute;
  left: 63%;
  top: 110px;
  width: 120px;
  height: 260px;
  transform: rotate(12deg);
  z-index: 3;
}
.floating-note {
  position: absolute;
  bottom: 46px;
  left: 18%;
  z-index: 4;
  border: 1px solid #fff8;
  background: #ffffffcf;
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 17px 23px;
  font-size: 12px;
  box-shadow: 0 14px 35px #875f6810;
  transform: rotate(-3deg);
}
.floating-note .icon {
  color: var(--rose);
  margin-right: 7px;
  width: 16px;
  height: 16px;
}
.floating-note small {
  display: block;
  padding-left: 28px;
  margin-top: 7px;
  color: #8b7b77;
  font-size: 9px;
}
.hero-star {
  position: absolute;
  color: #aa7f71;
  font-family: Georgia, serif;
}
.star-one {
  font-size: 35px;
  top: 89px;
  left: 14%;
}
.star-two {
  font-size: 64px;
  bottom: 90px;
  right: 28px;
}
.visual-caption {
  position: absolute;
  bottom: 14px;
  right: 16px;
  color: #947877;
  font-size: 8px;
}
.product-art {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
}
.product-art:after {
  content: "";
  position: absolute;
  bottom: 14%;
  width: 50%;
  height: 12px;
  background: #a99a8a2b;
  filter: blur(9px);
  border-radius: 50%;
  z-index: -1;
}
.bottle {
  position: relative;
  box-shadow:
    inset 7px 0 14px #ffffff6b,
    inset -8px 0 14px #8e594320,
    8px 12px 20px #4d35221c;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--product-color), white 20%),
    var(--product-color),
    color-mix(in srgb, var(--product-color), white 35%)
  );
  width: 56px;
  height: 115px;
  border-radius: 5px 5px 10px 10px;
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bottle .cap {
  position: absolute;
  top: -42px;
  width: 58px;
  height: 44px;
  border-radius: 18px 18px 3px 3px;
  background: linear-gradient(90deg, #e3bda4, #f5dfbf 48%, #ad8871);
  box-shadow: inset -3px 0 4px #91644920;
}
.bottle-label {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  z-index: 1;
  padding: 4px;
}
.bottle-label span {
  font-family: Georgia, serif;
  font-size: 7px;
  letter-spacing: 1px;
  color: #3d3528;
}
.bottle-label i {
  font-size: 5px;
  letter-spacing: 0.5px;
  font-style: normal;
  color: #5d4b40;
}
.bottle.tube {
  height: 137px;
  width: 74px;
  border-radius: 8px 8px 5px 5px;
  background: linear-gradient(90deg, #eae7e0, #fff 40%, #f3f0e8);
  margin-top: 0;
  border-top: 5px solid var(--product-color);
  transform: perspective(250px) rotateX(-5deg);
}
.tube .cap {
  top: auto;
  bottom: -18px;
  width: 75px;
  height: 27px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--product-color),
    color-mix(in srgb, var(--product-color), white 30%)
  );
}
.tube .bottle-label {
  background: var(--product-color);
  width: 100%;
  padding: 12px 4px;
  margin-top: -22px;
}
.tube .bottle-label span,
.tube .bottle-label i {
  color: white;
  font-family: Arial, sans-serif;
  font-size: 7px;
}
.bottle.perfume {
  height: 102px;
  width: 100px;
  border-radius: 5px 5px 24px 24px;
  background: linear-gradient(90deg, #f3dcd3bb, #f3d1d2aa 70%, #e7b2b6bb);
  border: 5px solid #fff5;
  outline: 1px solid #cda39e4d;
  box-shadow:
    inset 8px 0 6px #fffd,
    inset -8px 0 6px #fffa,
    12px 18px 18px #69403618;
}
.perfume .cap {
  top: -40px;
  width: 46px;
  height: 36px;
  border-radius: 4px;
  background: linear-gradient(90deg, #dad6d4, #fff8 48%, #c5c0be);
  border: 3px solid #fff8;
}
.perfume:before {
  content: "";
  position: absolute;
  width: 83px;
  height: 26px;
  top: -16px;
  background: linear-gradient(120deg, #bbbbbe55, #ffffff88, #bfb8b255);
  transform: rotate(12deg);
  border: 1px solid #ffffff99;
  clip-path: polygon(0 0, 45% 35%, 100% 0, 100% 100%, 47% 55%, 0 100%);
}
.perfume .bottle-label span {
  font-size: 9px;
  letter-spacing: 2px;
}
.perfume .bottle-label i {
  font-size: 6px;
}
.bottle.oil {
  height: 132px;
  width: 59px;
  border-radius: 8px;
  background: linear-gradient(90deg, #986924bb, #e4ba62aa, #cb9a3b);
  border: 2px solid #e0bb74;
}
.oil .cap {
  top: -29px;
  width: 34px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(90deg, #36322a, #494641, #1b1915);
}
.oil .cap:before {
  content: "";
  position: absolute;
  top: -9px;
  left: 5px;
  height: 9px;
  width: 43px;
  background: #222;
  border-radius: 2px;
}
.oil .bottle-label {
  border-top: 1px solid #71551f55;
  border-bottom: 1px solid #71551f55;
}
.oil .bottle-label span {
  font-family: Arial, sans-serif;
  font-size: 7px;
  letter-spacing: 0.5px;
}
.bottle.bag {
  width: 105px;
  height: 100px;
  background: linear-gradient(90deg, #f0dfdb, #f9eeeb);
  border-radius: 0;
}
.bag .cap {
  width: 45px;
  height: 40px;
  top: -25px;
  background: none;
  border: 3px solid #ae8990;
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  z-index: -1;
}
.hero-art .bottle {
  transform: scale(1.75);
}
.hero-art:after {
  bottom: 0;
  height: 16px;
  width: 80%;
}
.hero-perfume .hero-art .bottle {
  transform: scale(1.9);
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.benefits > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.benefits > div + div {
  border-left: 1px solid var(--line);
}
.benefits .icon {
  color: #977a78;
  width: 24px;
  height: 24px;
}
.benefits b {
  display: block;
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 7px;
}
.benefits small {
  font-size: 9px;
  color: var(--muted);
}
.assistant {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fcfaf7;
  border: 1px solid #ede7e1;
  border-radius: 6px;
  margin-top: 35px;
  padding: 23px 28px;
}
.assistant-badge {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #f1e3e3;
  display: grid;
  place-items: center;
  color: #8d5e71;
}
.assistant h2 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 6px;
}
.assistant p {
  font-size: 10px;
  color: #827873;
  margin: 0;
  line-height: 1.6;
}
.assistant > button {
  margin-left: auto;
  display: flex;
  gap: 17px;
  align-items: center;
  font-size: 11px;
  white-space: nowrap;
}
.assistant > button .icon {
  width: 16px;
}
.discovery {
  padding-top: 50px;
  scroll-margin-top: 20px;
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-top .eyebrow {
  color: #997a77;
  margin-bottom: 12px;
}
.section-top h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 31px;
  letter-spacing: -0.7px;
  margin: 0;
}
.sort {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort select {
  font-size: 10px;
  border: 1px solid #e4ded9;
  padding: 10px 26px 10px 10px;
  border-radius: 3px;
  background: #fff;
  color: #514b47;
  max-width: 190px;
}
.chips {
  display: flex;
  gap: 10px;
  margin: 24px 0 18px;
  overflow-x: auto;
}
.chip {
  padding: 9px 20px;
  border: 1px solid #e7e1dc;
  border-radius: 20px;
  font-size: 10px;
  white-space: nowrap;
}
.chip.selected {
  background: #262322;
  color: #fff;
  border-color: #262322;
}
.data-notice {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fcf8f5;
  border: 1px solid #eee6dd;
  padding: 13px 15px;
  font-size: 10px;
  color: #887467;
  line-height: 1.7;
  border-radius: 4px;
  margin-bottom: 22px;
}
.data-notice .icon {
  width: 15px;
  height: 15px;
}
.live-notice {
  background: #f1f7f1;
  color: #557759;
  border-color: #dce9dc;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.product-picture {
  height: 230px;
  position: relative;
  background: #f8f5f0;
  border-radius: 5px;
  overflow: hidden;
}
.product-card:nth-child(4n + 2) .product-picture {
  background: #f5f5f0;
}
.product-card:nth-child(4n + 3) .product-picture {
  background: #f9f0f0;
}
.product-card:nth-child(4n + 4) .product-picture {
  background: #f5f1e8;
}
.product-tag {
  position: absolute;
  left: 12px;
  top: 14px;
  font-size: 7px;
  letter-spacing: 0.6px;
  z-index: 3;
  background: #ffffffaa;
  border: 1px solid #fff;
  padding: 6px 8px;
  border-radius: 2px;
}
.favorite {
  position: absolute;
  right: 9px;
  top: 10px;
  z-index: 3;
  padding: 6px;
}
.favorite .icon {
  width: 17px;
  height: 17px;
}
.favorite.saved {
  color: #ad657d;
}
.favorite.saved .icon {
  fill: #f1c7d5;
}
.art-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}
.illustration-label {
  position: absolute;
  right: 12px;
  bottom: 9px;
  font-size: 7px;
  color: #9b8d83;
}
.product-info {
  padding: 17px 2px 0;
}
.product-brand {
  font-size: 8px;
  letter-spacing: 1.7px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #6a615d;
}
.product-name {
  text-align: left;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  padding: 0;
  line-height: 1.4;
  min-height: 26px;
}
.product-description {
  font-size: 10px;
  color: #938984;
  margin: 7px 0 13px;
}
.shop-line {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 9px;
  color: #7a6f67;
}
.shop-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b29885;
}
.product-price {
  font-size: 19px;
  margin: 14px 0 18px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.product-price small {
  display: block;
  font-size: 8px;
  color: #8b817b;
  margin-top: 6px;
  letter-spacing: 0;
  font-weight: 400;
}
.compare-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e2dad4;
  border-radius: 3px;
}
.compare-button .icon {
  width: 14px;
  height: 14px;
}
.compare-button:hover {
  background: #fcf4f1;
}
.wishlist-banner {
  margin-top: 56px;
  padding: 42px 55px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f1eb;
  overflow: hidden;
  position: relative;
}
.wishlist-banner .eyebrow {
  color: #968578;
}
.wishlist-banner h2 {
  font-family: Georgia, serif;
  font-size: 37px;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 18px;
}
.wishlist-banner h2 em {
  color: #8e6c65;
}
.wishlist-banner p:not(.eyebrow) {
  font-size: 11px;
  color: #857b70;
  line-height: 1.8;
}
.wishlist-banner .button {
  margin-top: 8px;
}
.wishlist-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.wish-paper {
  background: #fffdf8;
  border: 1px solid #e1dbd0;
  width: 280px;
  min-height: 240px;
  padding: 25px;
  box-shadow: 7px 13px 20px #7c74631a;
  transform: rotate(8deg);
}
.wish-paper:before {
  content: "";
  position: absolute;
  top: -11px;
  left: 32%;
  width: 94px;
  height: 27px;
  background: #dac6b666;
  transform: rotate(-4deg);
}
.wish-paper > span {
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
  color: #856d64;
  display: block;
  padding-bottom: 20px;
}
.wishlist-banner .wish-paper p {
  font-size: 10px;
  line-height: 2.2;
  border-bottom: 1px solid #ded9ca;
  color: #8a7b72;
}
.wish-paper i {
  font-family: Georgia, serif;
  color: #a08573;
  font-size: 14px;
  display: block;
  text-align: right;
  margin-top: 23px;
}
.wish-star {
  position: absolute;
  bottom: 5px;
  right: 10%;
  font-family: Georgia, serif;
  font-size: 70px;
  color: #ad9584;
}
.stores {
  padding: 42px 0 40px;
  text-align: center;
}
.stores > p {
  font-size: 11px;
  letter-spacing: 1px;
  color: #8e8179;
}
.stores > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 63px;
  margin: 28px 0;
  color: #77706a;
}
.stores > div span {
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 600;
}
.stores > div span:nth-child(3),
.stores > div span:nth-child(4) {
  font-size: 17px;
  letter-spacing: -0.7px;
  font-weight: 500;
}
.stores .amazon-word {
  font-weight: 700;
  letter-spacing: -1px;
  font-size: 24px;
}
.stores small {
  font-size: 8px;
  color: #a2988f;
}
footer {
  border-top: 1px solid var(--line);
  background: #fcfaf8;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  gap: 25px;
}
.footer-inner .brand {
  font-size: 31px;
}
.footer-inner .brand sup {
  font-size: 14px;
}
.footer-inner p {
  font-size: 10px;
  color: #8b7e76;
  line-height: 1.9;
  margin: 8px 0 0;
}
.footer-inner > p {
  margin: 0;
}
.footer-inner small {
  font-size: 9px;
}
.footer-inner > span {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 9px;
  color: #927f76;
}
.footer-inner > span .icon {
  width: 13px;
  height: 13px;
  color: #a5727f;
}
dialog {
  border: 1px solid #e6dcd6;
  border-radius: 10px;
  padding: 0;
  max-width: 850px;
  width: calc(100% - 32px);
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 30px 90px #25161540;
}
dialog::backdrop {
  background: #2d24255e;
  backdrop-filter: blur(3px);
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #fffc;
  border-radius: 50%;
  padding: 7px;
  z-index: 5;
  display: grid;
  place-items: center;
}
.auth-modal {
  max-width: 450px;
  margin: auto;
  padding: 40px 45px;
}
.auth-modal .brand {
  font-size: 35px;
  margin-bottom: 27px;
}
.auth-modal h2 {
  font:
    29px/1.2 Georgia,
    serif;
  font-weight: 400;
}
.muted {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.auth-modal label,
.settings-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  margin-top: 20px;
}
.auth-modal input,
.settings-form input,
.settings-form select {
  padding: 13px 12px;
  border: 1px solid #e0d8d1;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  color: #3e3835;
  width: 100%;
}
.auth-modal input::placeholder {
  color: #a49a93;
}
.auth-modal .button {
  width: 100%;
  margin-top: 16px;
}
.form-error {
  font-size: 11px;
  color: #a43750;
  line-height: 1.6;
  margin: 13px 0 0;
}
.auth-switch {
  font-size: 10px;
  text-align: center;
  color: #8b7c75;
  margin: 24px 0 0;
}
.auth-switch button {
  font-size: 10px;
  color: #8e5366;
  text-decoration: underline;
}
.detail-modal {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
}
.detail-picture {
  position: relative;
  background: #f5eeea;
  min-height: 480px;
}
.detail-picture .bottle {
  transform: scale(2);
}
.detail-copy {
  padding: 42px 32px;
}
.detail-copy h2 {
  font:
    29px/1.25 Georgia,
    serif;
  margin-bottom: 10px;
}
.detail-price {
  font-size: 28px;
  margin: 22px 0;
}
.detail-copy .data-notice {
  font-size: 10px;
}
.detail-copy dl {
  font-size: 11px;
}
.detail-copy dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.detail-copy dt {
  color: #877a74;
}
.detail-copy dd {
  margin: 0;
  text-align: right;
}
.detail-copy .button {
  width: 100%;
  margin-top: 10px;
}
.button.outlined {
  background: #fff;
  border: 1px solid #e1d7d0;
}
.detail-copy h3 {
  margin-top: 25px;
  font-size: 12px;
}
.source {
  font-size: 10px;
  line-height: 1.7;
}
.source a {
  color: #8f6173;
}
.source small {
  display: block;
  color: #94827b;
  margin-top: 6px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #282322;
  color: #fff;
  font-size: 12px;
  padding: 15px 22px;
  border-radius: 5px;
  box-shadow: 0 8px 30px #0002;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 20;
  line-height: 1.5;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.empty-state {
  text-align: center;
  padding: 75px 20px;
}
.empty-state > .icon {
  width: 40px;
  height: 40px;
  color: #a57889;
  margin-bottom: 20px;
}
.empty-state h3 {
  font:
    26px Georgia,
    serif;
}
.empty-state p {
  font-size: 12px;
  color: #8b7c74;
  line-height: 1.7;
}
.empty-state .button {
  margin-top: 16px;
}
.compact {
  padding: 40px;
  background: #fcf8f5;
}
.search-loading {
  text-align: center;
  padding: 70px 20px;
  background: #fcfaf7;
  border-radius: 6px;
}
.search-loading h3 {
  font:
    24px Georgia,
    serif;
  margin-top: 20px;
}
.search-loading p {
  color: var(--muted);
  font-size: 12px;
}
.spinner {
  width: 35px;
  height: 35px;
  display: inline-block;
  border: 2px solid #ebd9dc;
  border-top-color: #a86f83;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.account-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 55px;
  padding-top: 45px;
  padding-bottom: 70px;
  min-height: 65vh;
}
.account-nav {
  border-right: 1px solid var(--line);
  padding-right: 23px;
}
.avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: #f5e4e7;
  color: #966777;
  font:
    24px Georgia,
    serif;
  border-radius: 50%;
  margin-bottom: 16px;
}
.account-nav h3 {
  font:
    21px Georgia,
    serif;
  margin-bottom: 7px;
}
.account-nav > p {
  font-size: 10px;
  color: #9a8980;
  word-break: break-word;
  margin-bottom: 27px;
}
.account-nav > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  font-size: 11px;
  text-align: left;
  border-radius: 4px;
  margin-bottom: 5px;
}
.account-nav > button.selected {
  background: #f8ecee;
  color: #9b6175;
}
.account-nav > button:last-child {
  margin-top: 20px;
  color: #8f7970;
}
.account-nav .icon {
  width: 17px;
  height: 17px;
}
.account-content {
  min-width: 0;
}
.account-content > .eyebrow {
  color: #9c777e;
}
.account-content > h1 {
  font:
    38px Georgia,
    serif;
  margin-bottom: 13px;
}
.account-content > .muted {
  margin-bottom: 30px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.stats > button,
.stats > div {
  padding: 25px;
  background: #fcf7f5;
  border: 1px solid #e9dfda;
  text-align: left;
  border-radius: 5px;
}
.stats .icon {
  color: #a27687;
  margin-bottom: 18px;
}
.stats b {
  display: block;
  font:
    32px Georgia,
    serif;
  margin-bottom: 10px;
}
.stats span {
  font-size: 11px;
  color: #948077;
}
.subheading {
  font:
    25px Georgia,
    serif;
  margin: 35px 0 20px;
}
.settings-form {
  max-width: 500px;
}
.settings-form small {
  font-size: 10px;
  color: #92817a;
  line-height: 1.6;
}
.settings-form .button {
  margin-top: 25px;
}
.settings-form input:disabled {
  background: #faf7f4;
  color: #8e837d;
}
.search-history > button,
.search-history > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  text-align: left;
}
.search-history .icon {
  color: #a78c7e;
}
.search-history span {
  font-size: 12px;
  flex: 1;
}
.search-history small {
  display: block;
  font-size: 9px;
  color: #97847c;
  margin-top: 7px;
}
.saved-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.saved-item > .product-art {
  height: 130px;
  background: #f8f4ef;
  overflow: hidden;
  border-radius: 4px;
}
.saved-item .bottle {
  transform: scale(0.7);
}
.saved-item h3 {
  font:
    20px Georgia,
    serif;
  margin: 0 0 10px;
}
.saved-item .muted {
  font-size: 10px;
  margin-bottom: 10px;
}
.saved-item b {
  font-weight: 500;
  font-size: 17px;
}
.saved-item small {
  display: block;
  font-size: 9px;
  color: #95867e;
  margin-top: 9px;
}
.saved-actions {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
}
.saved-actions .button {
  font-size: 10px;
  gap: 13px;
}
.text-button {
  color: #986b72;
  font-size: 10px;
  text-decoration: underline;
}
.cart-summary {
  background: #faf4f1;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 25px;
  margin-top: 28px;
  font-size: 13px;
}
.cart-summary small {
  display: block;
  font-size: 10px;
  color: #968177;
  line-height: 1.8;
  margin-top: 10px;
}
.cart-summary strong {
  font:
    24px Georgia,
    serif;
  white-space: nowrap;
}
.admin-integration {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.admin-integration h2 {
  font:
    24px Georgia,
    serif;
}
.admin-integration p {
  font-size: 12px;
  color: #8e7f77;
}
.switch-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.switch-label input {
  accent-color: #8f5c71;
  width: 18px;
  height: 18px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}
th {
  background: #faf4f1;
  padding: 15px;
  font-size: 10px;
  font-weight: 500;
}
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.role-tag {
  background: #f7ecef;
  color: #996575;
  border-radius: 12px;
  padding: 5px 10px;
  white-space: nowrap;
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 54px;
  }
  .hero-copy {
    padding-top: 65px;
  }
  .hero {
    min-height: 510px;
  }
  .hero-visual {
    transform: scale(1.03);
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 50px);
  }
  .header-main {
    gap: 30px;
  }
  .header-actions {
    gap: 17px;
  }
  .account-button span {
    display: none;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-copy {
    padding-left: 35px;
  }
  .hero-orbit {
    width: 300px;
    height: 300px;
    top: 95px;
  }
  .hero-script {
    font-size: 21px;
    right: 24px;
  }
  .floating-note {
    left: 8%;
    font-size: 10px;
    padding: 14px;
  }
  .hero-perfume {
    left: 20%;
  }
  .hero-blush {
    left: 67%;
  }
  .product-grid {
    gap: 18px;
  }
  .product-picture {
    height: 215px;
  }
  .product-name {
    font-size: 17px;
  }
  .stores > div {
    gap: 35px;
  }
  .stores > div span {
    font-size: 15px;
  }
  .account-layout {
    gap: 30px;
    grid-template-columns: 190px 1fr;
  }
  .saved-item {
    grid-template-columns: 85px 1fr;
    gap: 18px;
  }
  .saved-actions {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
  }
  .benefits {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .announcement {
    font-size: 8px;
    letter-spacing: 0.4px;
    gap: 5px;
    height: 29px;
  }
  .header-main {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 0;
  }
  .brand {
    font-size: 35px;
  }
  .header-actions {
    margin-left: auto;
    gap: 18px;
  }
  .header-search {
    order: 3;
    flex-basis: 100%;
    height: 43px;
  }
  .category-nav {
    gap: 25px;
    height: 44px;
    overflow-x: auto;
    width: 100%;
    padding: 0 16px;
  }
  .category-nav button {
    font-size: 10px;
  }
  .category-nav .nav-ai {
    display: none;
  }
  .hero {
    margin-top: 17px;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 30px 25px 24px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .hero h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }
  .hero-copy > p {
    font-size: 12px;
    margin-bottom: 21px;
  }
  .hero-note {
    font-size: 8px;
  }
  .hero-visual {
    height: 285px;
    margin-top: -10px;
    background: radial-gradient(
      ellipse at 65% 65%,
      #ebc8c5 0%,
      transparent 70%
    );
  }
  .hero-orbit {
    width: 230px;
    height: 230px;
    top: 15px;
    left: calc(50% - 115px);
  }
  .hero-perfume {
    top: 45px;
    left: 20%;
    width: 150px;
    height: 160px;
  }
  .hero-perfume .hero-art .bottle {
    transform: scale(1.3);
  }
  .hero-blush {
    top: 35px;
    left: 63%;
    width: 70px;
    height: 180px;
  }
  .hero-art .bottle {
    transform: scale(1.1);
  }
  .hero-script {
    font-size: 19px;
    right: 18px;
    top: 3px;
  }
  .floating-note {
    bottom: 18px;
    left: 25%;
    font-size: 9px;
    padding: 12px 15px;
  }
  .floating-note small {
    font-size: 8px;
  }
  .star-one {
    top: 42px;
    left: 10%;
    font-size: 28px;
  }
  .star-two {
    font-size: 42px;
    bottom: 30px;
    right: 12px;
  }
  .visual-caption {
    font-size: 6px;
    bottom: 5px;
  }
  .benefits {
    gap: 10px;
    padding: 20px 0;
    grid-template-columns: 1fr;
  }
  .benefits > div {
    justify-content: flex-start;
    gap: 12px;
    padding: 7px 14px;
  }
  .benefits > div + div {
    border-left: 0;
  }
  .benefits b {
    font-size: 11px;
  }
  .benefits small {
    font-size: 9px;
  }
  .benefits .icon {
    width: 21px;
  }
  .assistant {
    padding: 18px 15px;
    margin-top: 24px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .assistant-badge {
    width: 35px;
    height: 35px;
  }
  .assistant > div:nth-child(2) {
    flex: 1;
  }
  .assistant h2 {
    font-size: 19px;
  }
  .assistant p {
    font-size: 9px;
  }
  .assistant > button {
    font-size: 10px;
    gap: 10px;
    margin-left: 47px;
  }
  .discovery {
    padding-top: 33px;
  }
  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  .section-top h2 {
    font-size: 28px;
  }
  .sort {
    align-self: flex-end;
  }
  .sort select {
    font-size: 9px;
    padding: 9px;
  }
  .chips {
    gap: 7px;
    margin-top: 19px;
  }
  .chip {
    font-size: 9px;
    padding: 9px 15px;
  }
  .data-notice {
    font-size: 9px;
    padding: 11px 12px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 13px;
  }
  .product-picture {
    height: 205px;
  }
  .product-tag {
    font-size: 6px;
    left: 8px;
    top: 10px;
    padding: 4px;
  }
  .favorite {
    right: 3px;
    top: 6px;
  }
  .favorite .icon {
    width: 16px;
    height: 16px;
  }
  .product-brand {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .product-name {
    font-size: 17px;
    min-height: 48px;
  }
  .product-info {
    padding-top: 14px;
  }
  .product-description {
    font-size: 9px;
    line-height: 1.6;
    min-height: 28px;
    margin-bottom: 8px;
  }
  .product-price {
    font-size: 18px;
  }
  .compare-button {
    font-size: 9px;
    padding: 10px;
  }
  .wishlist-banner {
    margin-top: 36px;
    padding: 28px 25px;
    grid-template-columns: 1fr;
  }
  .wishlist-banner h2 {
    font-size: 32px;
  }
  .wishlist-graphic {
    height: 235px;
    margin-top: 15px;
  }
  .wish-paper {
    width: 230px;
    min-height: 200px;
    padding: 20px;
  }
  .wish-paper > span {
    font-size: 21px;
    padding-bottom: 13px;
  }
  .wishlist-banner .wish-paper p {
    font-size: 9px;
  }
  .wish-star {
    font-size: 55px;
    bottom: 0;
    right: 1%;
  }
  .stores {
    padding-top: 30px;
  }
  .stores > div {
    flex-wrap: wrap;
    gap: 25px;
    margin: 25px 0;
  }
  .stores > div span {
    font-size: 14px;
  }
  .stores > div span:nth-child(3),
  .stores > div span:nth-child(4) {
    font-size: 15px;
  }
  .stores .amazon-word {
    font-size: 20px;
  }
  .stores small {
    font-size: 7px;
    line-height: 1.8;
    display: block;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 25px 0;
  }
  .footer-inner > p {
    font-size: 9px;
  }
  .auth-modal {
    padding: 30px 25px;
  }
  .auth-modal h2 {
    font-size: 26px;
  }
  .detail-modal {
    grid-template-columns: 1fr;
  }
  .detail-picture {
    min-height: 220px;
  }
  .detail-picture .bottle {
    transform: scale(1.1);
  }
  .detail-copy {
    padding: 30px 24px;
  }
  .detail-copy h2 {
    font-size: 26px;
  }
  .account-layout {
    grid-template-columns: 1fr;
    padding-top: 27px;
    gap: 27px;
  }
  .account-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .account-nav .avatar,
  .account-nav > h3,
  .account-nav > p {
    display: none;
  }
  .account-nav > button {
    width: auto;
    font-size: 10px;
    padding: 10px;
    gap: 6px;
    margin: 0;
  }
  .account-nav > button:last-child {
    margin: 0;
  }
  .account-nav .icon {
    width: 14px;
    height: 14px;
  }
  .account-content > h1 {
    font-size: 30px;
  }
  .account-content > .muted {
    font-size: 11px;
  }
  .stats {
    gap: 9px;
  }
  .stats > button,
  .stats > div {
    padding: 16px 12px;
  }
  .stats b {
    font-size: 27px;
  }
  .stats span {
    font-size: 9px;
    line-height: 1.5;
    display: block;
  }
  .saved-item {
    grid-template-columns: 75px 1fr;
    gap: 16px;
  }
  .saved-item > .product-art {
    height: 115px;
  }
  .saved-item h3 {
    font-size: 18px;
  }
  .saved-item .muted {
    font-size: 9px;
  }
  .saved-item small {
    font-size: 8px;
  }
  .saved-actions .button {
    font-size: 9px;
    padding: 12px;
    gap: 6px;
  }
  .cart-summary {
    padding: 18px;
    font-size: 11px;
  }
  .cart-summary strong {
    font-size: 21px;
  }
  .cart-summary small {
    font-size: 9px;
  }
  .empty-state {
    padding: 50px 15px;
  }
  .empty-state h3 {
    font-size: 24px;
  }
  .search-loading p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.real-product-art {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 22px 22px;
  background: #fff;
}
.real-product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-picture {
  border: 1px solid #efe9e5;
}
.detail-picture .real-product-art {
  padding: 55px 35px;
  min-height: 480px;
}
.saved-item > .real-product-art {
  height: 130px;
  background: white;
  border: 1px solid var(--line);
  padding: 10px;
}
.product-brand {
  min-height: 10px;
}
.product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}
.product-description {
  min-height: 28px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.research-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 20px 0;
}
.research-actions button {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  background: #fcf7f5;
  border: 1px solid #eadedb;
  border-radius: 4px;
  padding: 11px;
  font-size: 11px;
  color: #926171;
}
.research-actions .icon {
  width: 14px;
  height: 14px;
}
.compact-actions {
  margin: 9px 0 0;
  gap: 5px;
}
.compact-actions button {
  font-size: 9px;
  padding: 8px;
}
.load-more {
  text-align: center;
  margin: 30px 0;
}
.load-more p {
  color: var(--muted);
  font-size: 11px;
}
.category-nav {
  overflow-x: auto;
  gap: 28px;
  scrollbar-width: thin;
}
.research-modal {
  padding: 42px;
  max-width: 850px;
}
.research-modal h2 {
  font:
    29px Georgia,
    serif;
}
.research-baseline {
  background: #fcf6f2;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  margin: 20px 0;
}
.research-baseline b {
  margin-left: 14px;
}
.research-baseline small {
  font-size: 9px;
  color: #a08475;
}
.research-offers article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.research-offers h3 {
  font:
    22px Georgia,
    serif;
  margin-bottom: 9px;
}
.research-offers p {
  font-size: 11px;
  color: #8b7b72;
}
.research-offers strong {
  font-size: 21px;
  font-weight: 500;
}
.research-offers small {
  display: block;
  font-size: 10px;
  color: #87766c;
  margin-top: 10px;
}
.savings {
  padding: 13px;
  background: #eef8ef;
  font-size: 12px;
  color: #49704f;
}
.coupon-list article {
  padding: 20px;
  margin: 14px 0;
  border: 1px dashed #c394a4;
  background: #fff9fb;
  border-radius: 5px;
}
.coupon-list strong {
  display: block;
  font-size: 23px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.coupon-list span,
.coupon-list p,
.coupon-list a {
  font-size: 11px;
  color: #987384;
}
.coupon-list p {
  line-height: 1.8;
  margin-top: 15px;
}
.confirmation {
  color: #567757;
}
.ai-form {
  margin-bottom: 25px;
}
.admin-integration .switch-label {
  margin-top: 28px;
}
@media (max-width: 760px) {
  .detail-picture .real-product-art {
    min-height: 220px;
    height: 220px;
    padding: 30px;
  }
  .real-product-art {
    padding: 35px 14px 20px;
  }
  .saved-item > .real-product-art {
    height: 100px;
  }
  .research-modal {
    padding: 32px 22px;
  }
  .research-modal h2 {
    font-size: 25px;
  }
  .research-baseline {
    flex-direction: column;
    gap: 9px;
  }
  .research-offers article {
    flex-direction: column;
    align-items: flex-start;
  }
  .research-offers .button {
    width: 100%;
  }
  .compact-actions button {
    font-size: 8px;
    padding: 8px 6px;
    gap: 6px;
  }
  .product-name {
    font-size: 16px;
    min-height: 45px;
  }
}

.search-suggestions { width: 100%; min-height: 150px; border: 0; margin: 12px 0; }
#ai-provider-fields { display: grid; gap: 20px; }

/* Phone-first navigation, readable controls and safe-area spacing. */
.mobile-navigation { display: none; }
.account-content, .product-card, .saved-item > div, .detail-copy, .research-offers article > div { min-width: 0; }
@media (min-width: 761px) and (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body:not(.admin-mode) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: calc(100% - 32px); }
  .mobile-navigation { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 7px max(8px, env(safe-area-inset-right, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); background: #fffffff5; border-top: 1px solid #eae5e1; backdrop-filter: blur(12px); }
  .mobile-navigation button { position: relative; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #79736f; font-size: 11px; border-radius: 8px; }
  .mobile-navigation button[aria-current=page] { color: #96556b; background: #faf1f3; }
  .mobile-navigation .icon { width: 22px; height: 22px; }
  .mobile-navigation b { position: absolute; top: 1px; left: 57%; min-width: 17px; height: 17px; border-radius: 12px; padding: 2px 4px; background: #96556b; color: #fff; font-size: 10px; }
  .header-main { padding: 14px 0; gap: 12px; }
  .header-actions { gap: 8px; }
  .header-actions > button { min-width: 44px; min-height: 44px; }
  .header-actions > button:not(.account-button) { display: none; }
  .header-actions .account-button span { display: inline; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  .header-search { height: 48px; min-width: 0; }
  .header-search input, .auth-modal input, .settings-form input, .settings-form select, .sort select, .control-panel .settings-form input { font-size: 16px; min-height: 48px; min-width: 0; max-width: 100%; }
  .header-search input { width: 100%; }
  .header-search button { min-width: 44px; min-height: 44px; }
  .category-nav { gap: 18px; height: 50px; scroll-padding-inline: 16px; }
  .category-nav button { font-size: 12px; min-height: 44px; flex-shrink: 0; }
  .announcement { height: auto; min-height: 30px; padding: 6px 16px; font-size: 10px; text-align: center; line-height: 1.4; }
  .hero-copy { padding: 26px 20px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 42px); }
  .hero-copy > p { font-size: 14px; line-height: 1.7; }
  .hero-note { font-size: 10px; line-height: 1.6; }
  .hero-visual { height: 230px; overflow: hidden; }
  .hero-visual > .hero-script { font-size: 20px; }
  .benefits small, .assistant p { font-size: 11px; line-height: 1.6; }
  .assistant > button { font-size: 13px; min-height: 44px; }
  .button, .compare-button, .research-actions button, .text-button, .auth-switch button, .account-nav > button, .chip, .sort select, .control-sidebar button, .control-refresh, .control-panel-heading button { min-height: 44px; }
  .button { font-size: 13px; padding: 13px 16px; }
  .sort { align-self: stretch; justify-content: space-between; font-size: 12px; }
  .sort select { max-width: 72%; font-size: 14px; }
  .chips { max-width: 100%; padding-bottom: 5px; scroll-padding-inline: 8px; }
  .chip { font-size: 12px; flex-shrink: 0; }
  .data-notice { font-size: 12px; align-items: flex-start; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product-picture { height: clamp(175px, 48vw, 250px); }
  .favorite { min-width: 44px; min-height: 44px; right: 2px; top: 2px; }
  .favorite .icon { width: 20px; height: 20px; }
  .product-tag { max-width: calc(100% - 52px); font-size: 8px; line-height: 1.4; }
  .product-brand { font-size: 10px; letter-spacing: .7px; overflow-wrap: anywhere; }
  .product-name { font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
  .product-description { font-size: 12px; }
  .shop-line, .product-price small { font-size: 11px; line-height: 1.5; }
  .product-price { font-size: 21px; }
  .compare-button { font-size: 12px; padding: 10px 8px; gap: 5px; }
  .compact-actions button { font-size: 11px; padding: 10px 8px; gap: 6px; line-height: 1.4; text-align: left; }
  .compact-actions .icon { width: 14px; height: 14px; }
  .load-more p, .stores small, .footer-inner > p, .footer-inner small { font-size: 12px; line-height: 1.7; }
  dialog { width: calc(100% - 16px); max-width: calc(100% - 16px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
  body:has(dialog[open]) { overflow: hidden; }
  .modal-close { min-width: 44px; min-height: 44px; top: 8px; right: 8px; }
  .auth-modal { padding: 54px 20px 28px; }
  .auth-modal label, .settings-form label, .control-panel .settings-form label { font-size: 14px; }
  .auth-modal .muted, .auth-switch, .auth-switch button, .settings-form small, .form-error { font-size: 13px; line-height: 1.6; }
  .detail-copy { padding: 26px 20px; overflow-wrap: anywhere; }
  .detail-copy > .button { width: 100%; margin-top: 10px; }
  .detail-copy dt, .detail-copy dd, .source, .source small { font-size: 12px; line-height: 1.6; }
  .research-modal { padding: 52px 20px 24px; overflow-wrap: anywhere; }
  .research-modal .muted, .research-offers p, .research-offers small, .research-baseline, .research-baseline small, .coupon-list span, .coupon-list p, .coupon-list a { font-size: 13px; line-height: 1.6; }
  .research-baseline b { display: block; margin: 8px 0 0; }
  .research-actions button { font-size: 13px; }
  .account-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; max-width: 100%; }
  .account-nav > button { flex-shrink: 0; font-size: 12px; }
  .account-content > .muted { font-size: 14px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stats > button { text-align: left; }
  .stats span { font-size: 13px; }
  .search-history span { min-width: 0; overflow-wrap: anywhere; }
  .search-history small { font-size: 12px; line-height: 1.6; }
  .saved-item { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .saved-item h3 { font-size: 18px; overflow-wrap: anywhere; }
  .saved-item .muted, .saved-item small { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
  .saved-actions { grid-column: 1 / -1; align-items: stretch; gap: 6px; }
  .saved-actions .button, .saved-actions .text-button { font-size: 13px; }
  .cart-summary { flex-wrap: wrap; font-size: 14px; }
  .cart-summary small { font-size: 12px; }
  #toast { max-width: calc(100% - 32px); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); font-size: 13px; overflow-wrap: anywhere; }
  .admin-mode #toast { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .control-sidebar nav { flex-wrap: wrap; overflow: visible; }
  .control-sidebar nav button { flex: 1 1 calc(50% - 8px); font-size: 12px; }
  .control-topbar { padding-inline: 18px; }
  .control-panel .table-scroll { max-width: 100%; }
  .control-panel td { overflow-wrap: anywhere; }
  .control-panel .settings-form { width: 100%; }
  .control-panel .settings-form select { font-size: 16px; }
  .control-availability .switch-label { min-height: 44px; }
  .control-heading { align-items: flex-start; }
  .control-heading > div { min-width: 0; }
  .control-refresh { flex-shrink: 0; }
}
@media (max-width: 359px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-picture { height: 255px; }
  .hero h1 { font-size: 30px; }
  .hero-copy { padding: 24px 16px; }
  .control-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 760px) {
  .control-panel.admin-integration h2 { font: 600 16px/1.4 Arial, Helvetica, sans-serif; }
}
.usage-period { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 22px; color: #77849a; font-size: 12px; }
.usage-period select { min-height: 44px; border: 1px solid #dfe5ef; border-radius: 6px; background: #fff; padding: 10px; color: #3f4d65; }
.usage-metrics strong { font-size: clamp(20px, 2vw, 30px); overflow-wrap: anywhere; }
.usage-metrics small { line-height: 1.6; }
.usage-notice { padding: 18px 22px; border: 1px solid #e1e6ef; border-radius: 8px; margin-bottom: 24px; background: #edf1fa; color: #65738e; font-size: 12px; line-height: 1.7; }
.usage-notice p { margin: 8px 0; }
.usage-token-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.usage-token-grid span { color: #8591a5; font-size: 12px; display: block; }
.usage-token-grid b { display: block; margin-top: 12px; font-size: 22px; }
.usage-user-email, .usage-user-table td > small { display: block; margin-top: 7px; color: #8591a5; font-size: 11px; }
@media(max-width:760px) {
 .usage-period select { font-size: 16px; max-width: 75%; }
 .usage-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .usage-token-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .usage-user-table thead { display: none; }
 .usage-user-table, .usage-user-table tbody, .usage-user-table tr, .usage-user-table td { display: block; width: 100%; }
 .usage-user-table tr { padding: 12px 0; border-bottom: 1px solid #e3e8f0; }
 .usage-user-table td { border: 0; padding: 8px 0; font-size: 13px; overflow-wrap: anywhere; }
 .usage-user-table td::before { content: attr(data-label); display: block; font-size: 11px; color: #8591a5; margin-bottom: 6px; }
 .usage-user-table td[colspan]::before { display: none; }
 .usage-notice { padding: 16px; }
 .usage-metrics article { min-width: 0; }
}
@media(max-width:359px){ .usage-metrics { grid-template-columns: minmax(0,1fr); } }

.header-search button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; }
@media (max-width: 640px) { .header-search button span { display: none; } }

.store-comparison { display: grid; gap: 10px; margin: 16px 0; padding: 14px; border: 1px solid #e9e3df; border-radius: 6px; }
.store-comparison > b { font-size: 13px; }
.store-comparison a { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: inherit; text-decoration: none; }
.store-comparison a:hover { text-decoration: underline; }
.store-comparison small { color: #8d817e; font-size: 11px; }
.store-comparison .button { padding: 10px; min-height: 36px; font-size: 12px; }

.product-tag.verification-pending, .verification-note { background: #fff2d9; color: #785219; border: 1px solid #ecd7af; }
.verification-note { display: inline-block; padding: 4px 8px; font-size: 11px; border-radius: 3px; margin-bottom: 8px; }
.cart-add-button { width: 100%; margin: 8px 0; }
.cart-add-button:disabled { opacity: .65; cursor: default; }
