/* Shellac, silk and burnished brass, expressed in the feel of the controls. */
:root {
  --pressed-ink: #4d1927;
  --shell-shadow: inset 0 1px 0 #fff9, 0 1px 3px #4f302312;
  --button-shadow: inset 0 1px 0 #fff4, inset 0 -1px 0 #3f142838,
    0 3px 7px #5128281f;
  --pearl: linear-gradient(155deg, #fffcf5 5%, #f2e7d7 100%);
  --claret: linear-gradient(140deg, #86374a 0%, #6b2538 54%, #511c2b 100%);
  --tactile-ease: cubic-bezier(.18,.68,.2,1);
}

.cta, .cta.hero-cta, .brief .cta, .shopbar .cta {
  min-height: 44px;
  border-radius: 2rem;
  padding: .74em 1.42em;
  overflow: hidden;
  box-shadow: var(--button-shadow);
  transition: background-color .2s, box-shadow .24s, transform .24s var(--tactile-ease);
}
.cta, .brief .cta, .shopbar .cta { background: var(--claret); }
.cta.hero-cta {
  color: #501c2c;
  background: linear-gradient(140deg, #fff0d3, #edd3a2 62%, #ddb879);
}
.cta::before { transition: transform .32s var(--tactile-ease); }
.cta:active, .cta.hero-cta:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 6px #411f241f;
}

.size-shortcuts a, .guide-choices button, .kce-gallery-filters button,
.saved-link, .bag-actions button, .shopbar #reset, .textbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .55em 1em;
  color: #523b2e;
  border: 1px solid #ba9b7075;
  border-radius: 2rem;
  background: var(--pearl);
  box-shadow: var(--shell-shadow);
  text-decoration: none;
  line-height: 1.35;
  transition: background-color .22s, color .22s, border-color .22s, box-shadow .22s, transform .22s var(--tactile-ease);
}
.guide-choices { gap: 7px; }
.guide-choices button[aria-pressed=true],
.kce-gallery-filters button[aria-pressed=true] {
  color: #fff5e4;
  border-color: var(--wine);
  background: var(--claret);
  box-shadow: var(--button-shadow);
  text-decoration: none;
}
.guide-choices button[aria-pressed=true]::before,
.kce-gallery-filters button[aria-pressed=true]::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  margin-right: .5em;
  background: #f4d5a0;
}
.bag-actions { gap: .55rem; }
.bag-actions button { min-width: 42px; padding-inline: .7em; font-size: 14px; }
.bag-actions [data-delta="-99"] { border-color: transparent; background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.bag-actions>span { font-variant-numeric: tabular-nums; }
.shopbar #reset { font-size: .85rem; text-decoration: none; }
.saved-link, .textbutton { font-size: .88rem; }

.shopbar :is(input,select), .brief :is(select,textarea), .utility #currency {
  min-height: 42px;
  max-width: 100%;
  border: 1px solid #b49c785e;
  border-radius: 1.4rem;
  color: var(--ink);
  background-color: #fffbf4;
  box-shadow: inset 0 1px 3px #6c452610, 0 1px #fff9;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.shopbar :is(input,select), .brief select { padding: .57em .92em; }
.shopbar select, .brief select, .utility #currency {
  appearance: none;
  padding-right: 2.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1.5 1.5 4.5 4 4.5-4' fill='none' stroke='%23724f37' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75em center;
}
.brief textarea { padding: 14px 17px; border-radius: 1.2rem; resize: vertical; }
.utility #currency { min-height: 36px; padding-left: .62em; font-size: .84rem; background-color: #fcf8ef; }
.utility a { min-height: 42px; border-radius: .7rem; }
.utility .saved-icon { min-width: 30px; justify-content: center; }

.hero-picks { gap: 4px; }
.hero-picks button, .tour-picks button {
  border: 0;
  border-radius: 1.5rem;
  min-height: 40px;
  transition: background-color .22s, color .22s, box-shadow .22s;
}
.hero-picks button { padding: .45rem .7rem; }
.hero-picks button[aria-pressed=true] {
  color: #fff3d9;
  background: #ffdba31a;
  box-shadow: inset 0 -1px #d8b47b85;
  text-decoration: none;
}
.tour-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.tour-picks button { padding: .5rem .9rem; font-size: .85rem; background: #fcf7ec; box-shadow: var(--shell-shadow); }
.tour-picks button::after { content: none; }
.tour-picks button[aria-pressed=true] { background: #e9d9bf; box-shadow: inset 0 -1px #b4946094; }
.tour-picks button:hover { padding-left: .9rem; }
.kce-view-controls button {
  background: linear-gradient(155deg, #7b635649, #8a60512b);
  box-shadow: inset 0 1px #fff2;
}
.kce-view-controls [aria-pressed=true] { background: #704936; box-shadow: inset 0 -1px #dcbb80; }
.rug-cover span {
  border-radius: 1.5rem;
  box-shadow: inset 0 1px #fffae42c, 0 2px 8px #29131e25;
}

.guide-tile, .service-tile {
  border-radius: 1.3rem .85rem 1.3rem .85rem;
  background: var(--pearl);
  box-shadow: var(--shell-shadow);
  transition: transform .24s var(--tactile-ease), box-shadow .24s, border-color .24s;
}
.guide-list details { border-color: #a88b643f; }
.guide-list summary { padding: .3rem .35rem; border-radius: .35rem; }
.guide-list summary::marker { color: #8b5b34; }
.guide-list details[open] > summary { color: var(--wine); }
:is(.sub,.hero-sub,.textbutton,.showroom-contacts a,.crumb a,.newfoot a:not(.brand-lockup)) {
  text-underline-offset: .25em;
  text-decoration-thickness: 1px;
}
a.sub, a.hero-sub, .card h3, .kce-photo-caption { transition: color .18s, text-decoration-color .18s; }
a.sub, a.hero-sub { border-bottom-color: currentColor; }
.card h3, .kce-photo-caption { text-decoration-color: transparent; }

/* Keep the same stationary highlight on touch, keyboard and reduced-motion setups. */
@media (hover:hover) {
  .cta:not(.hero-cta):hover { background: linear-gradient(145deg,#924055,#662336); box-shadow: inset 0 1px #fff4, 0 5px 11px #50272726; }
  .cta.hero-cta:hover { background: linear-gradient(140deg,#fff4da,#e9c48d); }
  .size-shortcuts a:hover, .guide-choices button:not([aria-pressed=true]):hover,
  .kce-gallery-filters button:not([aria-pressed=true]):hover,
  .saved-link:hover, .shopbar #reset:hover, .textbutton:hover,
  .guide-tile:hover, .service-tile:hover, .bag-actions button:not([data-delta="-99"]):hover {
    color: #612337; border-color: #9974479e; background: var(--pearl);
    box-shadow: inset 0 1px #fffd, 0 4px 11px #6940201e;
  }
  .tour-picks button:not([aria-pressed=true]):hover { background: #f5e9d6; }
  .hero-picks button:hover { background: #e6c38d17; }
  .kce-view-controls button:hover { background: #765642; }
  .guide-list summary:hover, .utility a:hover { color: var(--wine); }
  .shopbar :is(input,select):hover, .brief :is(select,textarea):hover, .utility #currency:hover { border-color: #977145b8; }
  .card:hover h3, .kce-photo-tile:hover .kce-photo-caption {
    color: var(--wine); text-decoration: underline; text-decoration-color: #a077477a;
    text-decoration-thickness: 1px; text-underline-offset: .16em;
  }
  .sub:hover, .hero-sub:hover, .crumb a:hover, .newfoot a:not(.brand-lockup):hover, .showroom-contacts a:hover {
    text-decoration: underline; text-decoration-style: dashed;
  }
}
:is(.guide-choices,.tour-picks,.hero-picks,.kce-gallery-filters,.bag-actions,.kce-view-controls) button:active,
.size-shortcuts a:active, .saved-link:active, .textbutton:active, .guide-tile:active,
.service-tile:active, .shopbar #reset:active {
  transform: translateY(1px); box-shadow: inset 0 2px 4px #4d301824;
}
main :is(button,a,input,select,textarea,summary):focus-visible, .utility :is(a,select):focus-visible {
  outline: 2px solid #6e2940; outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff3d6, 0 0 0 5px #6e2940;
}
.frontispiece :is(button,a):focus-visible, .story :is(button,a):focus-visible {
  outline-color: #f1d294; box-shadow: 0 0 0 3px #451c26, 0 0 0 5px #f1d294;
}
@media(max-width:600px) {
  .hero-picks button { padding-inline: .55rem; }
  .utility #currency { min-height: 36px; }
  .shopbar :is(select,input), .brief textarea { font-size: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  .cta, .cta::before, .size-shortcuts a, .guide-tile, .service-tile, .guide-choices button,
  .tour-picks button, .hero-picks button, .kce-gallery-filters button, .saved-link,
  .bag-actions button, .shopbar #reset, .textbutton, .kce-view-controls button { transform: none !important; transition: none !important; }
}
@media(forced-colors:active) {
  .shopbar select, .brief select, .utility #currency { appearance: auto; background-image: none; }
  .guide-choices button[aria-pressed=true], .kce-gallery-filters button[aria-pressed=true],
  .hero-picks button[aria-pressed=true], .tour-picks button[aria-pressed=true] { outline: 2px solid Highlight; }
  .cta, .saved-link, .bag-actions button, .kce-view-controls button, .tour-picks button { border: 1px solid ButtonText; }
}

.saved-link[aria-pressed="true"] {
  color: #601d31;
  background: #f1dfd9;
  border-color: #ac7374;
}
.saved-link[aria-pressed="true"]::before {
  content: "♥";
  margin-inline-end: .45em;
  font-size: .84em;
}
main a:not([class]), .cartrow a {
  border-radius: .28em;
  text-underline-offset: .24em;
  text-decoration-color: #a58365;
  transition: color .18s, text-decoration-color .18s;
}
@media (hover:hover) {
  main a:not([class]):hover, .cartrow a:hover { color: var(--wine); text-decoration-color: currentColor; }
  .brand-lockup:hover img { filter: brightness(1.08); }
}
:where(a, button, summary):not(:disabled):active { filter: brightness(.95); }
@media (forced-colors:active) { .saved-link[aria-pressed="true"] { outline: 2px solid Highlight; } }
