:root {
  --chrome: #c6c6c6;
  --ink: #271433;
  --plum: #650865;
  --pink: #f783d1;
  --lemon: #fffc79;
  --aqua: #91e2d9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font: 1rem/1.45 Arial, sans-serif;
  background-color: #ba9fd2;
  background-image: repeating-linear-gradient(45deg, transparent 0 11px, #eacfff 11px 13px, transparent 13px 22px),
    repeating-linear-gradient(-45deg, transparent 0 9px, #a584ba 9px 11px, transparent 11px 22px);
}
.frame { width: min(980px, calc(100% - 32px)); margin: 20px auto; padding: 5px; background: var(--chrome); border: 4px outset #ddd; }
a { color: #00009b; text-underline-offset: 2px; }
a:visited { color: #631479; }
a:hover { color: #9c004a; }
a:focus-visible { outline: 3px dashed #141478; outline-offset: 2px; }
.skip { position: absolute; z-index: 4; left: 8px; top: -80px; background: white; padding: .6rem; }
.skip:focus { top: 8px; }
.titlebar, .section-bar { background: linear-gradient(90deg, #241168, #644896); color: white; font: bold .94rem/1.4 Arial,sans-serif; }
.titlebar { display: flex; align-items: center; gap: .5em; padding: 4px 8px; }
.tiny-icon { border: 1px outset white; color: var(--plum); background: var(--lemon); font: bold italic .9rem Georgia,serif; padding-inline: 3px; }
.mast {
  text-align: center; overflow: hidden; position: relative; border: 3px ridge #e4bbe5;
  background: repeating-linear-gradient(0deg, #ffffff35 0 1px, transparent 1px 4px),
    linear-gradient(105deg, #c0f7ea, #bba7f0 28%, #ffc0e8 51%, #c3a9ed 72%, #93e8d8);
}
.brand, .brand:visited, .brand:hover {
  position: relative; display: inline-block; z-index: 1; padding: 2px .35em 12px;
  color: #fefa9f; font: 900 italic clamp(3.1rem, 8.5vw, 6rem)/1 Georgia, serif;
  letter-spacing: -.08em; text-decoration: none; transform: skewX(-5deg);
  -webkit-text-stroke: 1px #772b6a; text-shadow: 2px 2px #8b226d, 4px 4px #a11783, 6px 6px #583064;
}
.mast::before, .mast::after { content: "✧ ✦"; color: #fffab6; position: absolute; top: 50%; transform: translateY(-50%) rotate(-12deg); font: bold clamp(1.3rem,5vw,3.8rem) Georgia,serif; text-shadow: 2px 2px #9546a6; }
.mast::before { left: 8%; }
.mast::after { right: 8%; transform: translateY(-50%) rotate(12deg); }
nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; margin-block: 4px; }
nav a, .button { border: 3px outset #e8e8e8; background: var(--chrome); text-align: center; padding: 7px 5px; font-weight: bold; }
nav a[aria-current], nav a:active, .button:active { border-style: inset; background: #e8c8ed; }
main { border: 3px inset #e4e0ea; padding: clamp(8px,2vw,20px); background: #fff0da; }
h1,h2,p,figure { margin: 0; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; padding: clamp(12px,3vw,32px);
  border: 5px double var(--plum); background-color: #fff6a5;
  background-image: repeating-linear-gradient(45deg, transparent 0 9px, #fcde976e 9px 12px);
}
.feature-text { text-align: center; }
.feature h1 { font: bold 1.5rem/1.1 Georgia,serif; color: var(--plum); }
.feature h1 em { display: block; font-size: clamp(2.2rem,4.7vw,3.9rem); line-height: .96; letter-spacing: -.055em; text-shadow: 2px 2px #fff, 3px 3px #d695ae; }
.feature-text p { margin: 14px 0 18px; color: #7d1441; font-weight: bold; }
.button { display: inline-block; background: var(--pink); border-color: #ffcff0; padding-inline: 1.15rem; }
.feature-photo { position: relative; margin: 2px 5px 13px; padding: 5px; border: 4px ridge #e3c2a8; background: white; transform: rotate(2deg); }
.feature-photo img, .mini img, .product img { width: 100%; height: auto; aspect-ratio: 4/3; display: block; }
.feature-photo figcaption { position: absolute; bottom: -16px; right: -9px; transform: rotate(-7deg); background: #ecff42; padding: 5px 14px; border: 3px dashed #9e1758; color: #9a0649; font: bold italic 1.4rem Georgia,serif; }
.shelf { margin-top: 16px; border: 3px ridge #ddd; background: #d6f1e7; }
.section-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 5px 9px; }
.section-bar h2 { font-size: 1.12rem; }
.section-bar a, .section-bar a:visited { color: #ffffa8; }
.mini-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 10px; }
.mini { text-align: center; font: bold 1.06rem/1.2 Georgia,serif; }
.mini img { border: 4px ridge #c4bdad; margin-bottom: 4px; }
.page-title { background: var(--aqua); border: 3px double #67357a; font: bold italic clamp(2rem,5vw,3rem)/1.1 Georgia,serif; color: var(--plum); text-shadow: 2px 2px white; padding: 7px 12px; margin-bottom: 12px; text-align: center; }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.product { display: flex; flex-direction: column; padding: 7px; background: #f9e1ef; border: 3px ridge #daa3c5; scroll-margin-top: 8px; }
.product:nth-child(4n + 2) { background: #e4edc1; }
.product:nth-child(4n + 3) { background: #fff3ae; }
.product:nth-child(4n) { background: #d5efeb; }
.product img { border: 2px inset silver; }
.product h2 { margin: 7px 0 4px; text-align: center; color: var(--plum); font: bold italic 1.35rem/1.02 Georgia,serif; overflow-wrap: anywhere; }
.product p { margin-bottom: .75rem; }
.price { margin-top: auto; font-size: 1.12rem; color: #89083e; }
.product a { align-self: flex-start; padding: 4px 0; }
.note { max-width: 640px; margin: 12px auto; padding: .8rem 1rem; border: 3px ridge #e2bad4; background: #fff9d6; }
.note h2 { font: bold 1.4rem Georgia,serif; color: var(--plum); }
.note p + p, .note address, .note h2 + p, .note address + p { margin-top: .65rem; }
.note address { font-style: normal; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 1em; border: 2px inset #eee; padding: 4px 8px; margin-top: 4px; font: .85rem/1.5 Arial,sans-serif; }
@media (max-width: 820px) {
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 580px) {
  .frame { width: calc(100% - 10px); margin: 5px auto; padding: 3px; }
  nav { grid-template-columns: repeat(2,1fr); }
  .feature { grid-template-columns: 1fr; gap: 12px; }
  .feature h1 br { display: none; }
  .feature h1 em { margin-top: 4px; }
  .feature-text p { margin: 8px 0; }
  .feature-photo { width: 88%; justify-self: center; }
  .mini-grid { grid-template-columns: 1fr; gap: 5px; }
  .mini { display: flex; align-items: center; gap: 8px; text-align: left; }
  .mini img { width: 78px; margin: 0; }
  .mast::before { left: 2%; }
  .mast::after { right: 2%; }
  .products { gap: 5px; }
  .product { padding: 4px; }
  .product h2 { font-size: 1.17rem; }
}
@media (max-width: 480px) {
  .products { grid-template-columns: 1fr; gap: 12px; }
  .product { padding: 8px; }
  .product h2 { font-size: 1.45rem; }
}
