/* Rocky Mountain Baskets and Gifts. Colors taken from the logo. */
:root {
  --purple: #5e1763;
  --purple-dark: #3f0d43;
  --olive: #5a5200;
  --olive-dark: #3d3800;
  --cream: #faf5e8;
  --sand: #efe5cc;
  --line: #e2d6b5;
  --ink: #2a2328;
  --muted: #5f5660;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid #c58b00; outline-offset: 2px; }

/* Sale notice */
.sale-bar { background: var(--purple-dark); color: #fff; }
.sale-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 9px 18px; text-align: center; }
.sale-bar p { margin: 0; font-size: 15px; }
.sale-announce { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: #fff; text-align: center; }
.sale-announce .wrap { padding: 26px 18px 28px; }
.sale-announce h2 { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 32px); line-height: 1.25; margin: 0 0 6px; color: #fff; }
.sale-announce .sale-year { font-family: var(--serif); font-style: italic; font-size: 19px; color: #f3e3a6; margin: 0 auto 8px; }
.sale-announce p { margin: 0 auto 16px; max-width: 760px; }

/* Buttons */
.btn { display: inline-block; background: var(--purple); color: #fff; text-decoration: none; font-weight: 700; padding: 11px 22px; border-radius: 6px; border: 2px solid var(--purple); letter-spacing: .02em; }
.btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; }
.btn-light { background: #fff; color: var(--purple-dark); border-color: #fff; }
.btn-light:hover { background: #f3e3a6; border-color: #f3e3a6; color: var(--purple-dark); }
.btn-small { padding: 5px 14px; font-size: 14px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.logo img { width: 388px; max-width: 100%; }
.header-phone { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--olive); }
.header-phone a { color: var(--olive); text-decoration: none; }
.main-nav { background: var(--olive); }
.main-nav .wrap { display: flex; flex-wrap: wrap; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 11px 14px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--olive-dark); color: #fff; }

/* Content */
main { padding-top: 18px; padding-bottom: 48px; }
h1, h2 { font-family: var(--serif); color: var(--purple); line-height: 1.25; }
h1 { font-size: clamp(28px, 4vw, 38px); margin: 8px 0 10px; }
h2 { font-size: 23px; }
.section-title { border-bottom: 2px solid var(--sand); padding-bottom: 6px; margin-top: 40px; }
.lead { font-family: var(--serif); font-size: 20px; color: var(--olive); max-width: 820px; }
.intro { text-align: center; padding: 18px 0 4px; }
.intro .lead { margin: 0 auto; }
.center { text-align: center; margin-top: 36px; }
.small { font-size: 14px; color: var(--muted); }
.count { color: var(--muted); font-weight: 700; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; }

/* Grids */
.grid, .tiles { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 18px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tiles { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.card a, .tile a { display: block; height: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 8px; text-decoration: none; color: var(--purple); transition: border-color .15s, transform .15s; }
.card a:hover, .tile a:hover { border-color: var(--purple); transform: translateY(-2px); }
.card img, .tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; background: #fff; }
.card-name { display: block; font-weight: 700; margin-top: 8px; line-height: 1.3; }
.card-price { display: block; font-size: 15px; color: var(--ink); margin-top: 2px; }
.tile span { display: block; font-family: var(--serif); font-weight: 700; font-size: 17px; text-align: center; margin-top: 8px; line-height: 1.25; }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list a { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); text-decoration: none; font-size: 15px; }

/* Basket page */
.basket { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 8px; }
.basket-photo img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.basket-info h1 { margin-top: 0; }
.price { font-size: 22px; font-weight: 700; color: var(--olive); margin: 0 0 12px; }
.ask { background: var(--cream); border: 1px solid var(--line); border-left: 5px solid var(--purple); border-radius: 6px; padding: 12px 16px; margin: 20px 0; }
.ask h2 { font-size: 19px; margin: 0 0 4px; }
.ask p { margin: 0; }

/* Sale page */
.sale-page { max-width: 860px; }
.included dt { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--purple); margin-top: 16px; }
.included dd { margin: 4px 0 0; }
.price-table { border-collapse: collapse; width: 100%; max-width: 640px; margin: 12px 0 16px; }
.price-table th, .price-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--sand); }
.price-table tfoot th, .price-table tfoot td { font-weight: 700; background: var(--cream); color: var(--purple); }

/* Footer */
.site-footer { background: var(--purple-dark); color: #f4ecf4; padding: 26px 0; }
.site-footer a { color: #fff; }
.site-footer p { margin: 6px 0; }
.footer-brand { font-family: var(--serif); font-size: 19px; color: #f3e3a6; }
.footer-links a { margin-right: 14px; }
.site-footer .small { color: #d9c9d9; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .basket { grid-template-columns: 1fr; }
  .header-row { justify-content: center; text-align: center; }
  .main-nav a { padding: 9px 10px; font-size: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* Layout carried over from the original website: button bars, cream lists, Featured column */
.main-nav a { font-size: 14px; padding: 7px 14px; flex: 1 1 auto; text-align: center; border: 1px solid #fff; text-transform: lowercase; }
.cat-nav { background: #fff; }
.cat-nav .wrap { padding-top: 2px; padding-bottom: 2px; }
.cat-row { display: flex; align-items: stretch; margin-top: 2px; }
.cat-label { flex: 0 0 132px; display: flex; align-items: center; justify-content: center; background: var(--olive); color: #fff; font-weight: 700; font-size: 13px; text-align: center; padding: 4px 6px; border: 1px solid #fff; }
.cat-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; flex: 1; }
.cat-row li { flex: 1 1 auto; display: flex; }
.cat-row a { flex: 1; display: block; background: #757575; color: #fff; font-weight: 700; font-size: 14px; text-align: center; text-decoration: none; padding: 5px 9px; border: 1px solid #fff; white-space: nowrap; }
.cat-row a:hover, .cat-row a[aria-current="page"] { background: #c400c7; color: #fff; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 22px; align-items: start; }
.featured h2 { color: #c00; font-family: var(--sans); font-size: 16px; text-align: center; margin: 6px 0 8px; }
.featured ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.featured a { display: block; border: 2px solid var(--purple); padding: 4px; text-align: center; text-decoration: none; font-size: 13px; line-height: 1.3; color: var(--purple); background: #fff; }
.featured img { width: 100%; }
.featured .f-name, .featured .f-price { display: block; }
.intro .hero { margin: 0 auto; max-width: 100%; }
.intro .wordmark { margin: 10px auto 0; }
.intro h1 { font-size: clamp(20px, 2.6vw, 26px); margin-top: 10px; }
.note { font-family: var(--serif); font-weight: 700; color: var(--olive); text-align: center; background: #f7efd6; margin: 0; padding: 12px 16px; border-bottom: 1px solid #b9b08a; }
.rows { list-style: none; margin: 0; padding: 0 12px; background: #f7efd6; }
.row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 70px; gap: 20px; align-items: start; padding: 18px 0; border-bottom: 1px solid #b9b08a; background: url(/assets/pinecone3.gif) no-repeat right center; }
.row:last-child { border-bottom: 0; }
.row-photo img { width: 200px; border-radius: 3px; background: #fff; }
.row-text h2 { font-family: var(--sans); font-size: 20px; margin: 0 0 8px; padding-left: 0; }
.row-text h2 a { color: #6b006b; text-decoration: none; }
.row-text h2 a:hover { text-decoration: underline; }
.row-text p { margin: 0 0 8px; font-size: 15px; line-height: 1.45; }
.row-price { font-weight: 700; color: #6b006b; }
.row-more { font-size: 13px; }
.count { margin: 10px 0; }
@media (max-width: 760px) {
  .with-sidebar { grid-template-columns: 1fr; }
  .featured ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-row { flex-direction: column; }
  .cat-label { flex: none; }
  .cat-row a { font-size: 13px; padding: 5px 6px; }
  .row { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; background-image: none; }
  .row-photo img { width: 110px; }
}
.sale-announce .sale-contact { font-weight: 700; margin-bottom: 14px; }
.sale-announce .sale-contact a { color: #f3e3a6; }
.site-footer a { color: #fff; }
.center-h1 { text-align: center; margin-top: 6px; } .sale-page { margin: 0 auto; }
