/* The shop. Loaded after bootstrap.css and bm-pages.css; same type and colours as the rest of the site. */
.shop { font-family: 'Kanit', sans-serif; font-weight: 300; color: #212121; }
.shop .container > .shop-preview { margin: 0 0 18px; padding: 10px 14px; background: #fff6d6; border-left: 3px solid #b98900; font-size: 14px; text-align: left; }
.shop-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; padding: 14px 0; margin: 10px 0 34px; border-top: 1px solid #212121; border-bottom: 1px solid #e2e2e2; }
.shop-nav a { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #777; text-decoration: none; padding: 4px 0; }
.shop-nav a:hover, .shop-nav a.on { color: #212121; }
.shop-nav a.on { box-shadow: 0 2px 0 #212121; }
.shop-nav a.shop-cart { margin-left: auto; color: #212121; font-weight: 400; }
.shop-title { text-align: left; margin: 0 0 26px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; margin-bottom: 40px; }
.shop-card { display: block; text-decoration: none; color: #212121; text-align: left; }
.shop-card:hover, .shop-card:focus { text-decoration: none; color: #212121; }
.shop-pic { position: relative; display: block; aspect-ratio: 1 / 1; background: #f3f3f1; overflow: hidden; }
.shop-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.shop-card:hover .shop-pic img { transform: scale(1.04); }
.shop-pic em { position: absolute; left: 0; bottom: 0; padding: 6px 12px; background: #212121; color: #fff; font-style: normal; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.shop-card.is-out .shop-pic img { filter: grayscale(.6); opacity: .8; }
.shop-name { display: block; margin-top: 14px; font-size: 15px; line-height: 21px; letter-spacing: .5px; text-transform: uppercase; }
.shop-price { display: block; margin-top: 4px; font-size: 15px; color: #777; }
.shop-product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; text-align: left; margin-bottom: 40px; }
.shop-gallery > img { width: 100%; display: block; background: #f3f3f1; }
.shop-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.shop-thumbs button { padding: 0; border: 1px solid transparent; background: #f3f3f1; cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; }
.shop-thumbs button.on, .shop-thumbs button:focus-visible { border-color: #212121; outline: none; }
.shop-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-buy h2 { text-align: left; margin: 0 0 8px; font-size: 28px; line-height: 34px; }
.well1a .shop-buy p { text-align: left; font-size: 15px; line-height: 23px; }
.well1a .shop-buy p.shop-bigprice { font-size: 22px; margin: 0 0 18px; }
.well1a .shop-buy p.shop-out { display: inline-block; padding: 8px 16px; background: #212121; color: #fff; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.shop-buy .bm-actions { text-align: left; margin: 22px 0 8px; }
.shop-buy input[type=number] { max-width: 110px; }
.shop-desc { margin-top: 28px; padding-top: 22px; border-top: 1px solid #e2e2e2; font-size: 15px; line-height: 24px; }
.shop-desc ul, .shop-desc ol { padding-left: 20px; margin: 0 0 14px; }
.shop-desc h2, .shop-desc h3, .shop-desc h4 { font-size: 15px; letter-spacing: 2px; text-transform: uppercase; text-align: left; margin: 20px 0 8px; line-height: 22px; }
/* cart and checkout */
.shop-cartbox { max-width: 860px; margin: 0 auto; text-align: left; }
.shop-lines { width: 100%; border-collapse: collapse; }
.shop-lines td { padding: 14px 0; border-bottom: 1px solid #e6e6e6; vertical-align: middle; font-size: 15px; }
.shop-lines td.pic { width: 84px; } .shop-lines td.pic img { width: 68px; height: 68px; object-fit: cover; display: block; background: #f3f3f1; }
.shop-lines td.qty input { width: 70px; padding: 8px; }
.shop-lines td.amt { text-align: right; white-space: nowrap; }
.shop-lines a { color: #212121; } .shop-lines .rm { background: none; border: 0; padding: 0; color: #777; text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; }
.shop-sum { width: 100%; max-width: 380px; margin: 18px 0 0 auto; border-collapse: collapse; font-size: 15px; }
.shop-sum td { padding: 6px 0; } .shop-sum td:last-child { text-align: right; } .shop-sum tr.tot td { font-size: 20px; font-weight: 400; border-top: 1px solid #212121; padding-top: 12px; }
.shop-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.well1a .shop-cartbox p { text-align: left; font-size: 15px; line-height: 22px; }
@media (max-width: 860px) { .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; } .shop-product { grid-template-columns: 1fr; gap: 26px; } .shop-two { grid-template-columns: 1fr; } .shop-lines td.pic { display: none; } }
@media (prefers-reduced-motion: reduce) { .shop-pic img { transition: none; } .shop-card:hover .shop-pic img { transform: none; } }
.shop-sum tr[hidden] { display: none; }
.shop .bm-form input[type=number] { width: 100%; padding: 12px 14px; border: 1px solid #bdbdbd; font: inherit; font-size: 16px; background: #fff; }
.shop .rm { background: none; border: 0; padding: 0; color: #777; text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; }
.shop-desc ul { list-style: disc; } .shop-desc ol { list-style: decimal; } .shop-desc li { margin-bottom: 4px; }
/* The shop uses more of the screen than the text pages do, and its section menu stays on one line. */
.shop > .container { width: auto; max-width: 1560px; padding-left: 32px; padding-right: 32px; }
.shop-nav { flex-wrap: nowrap; gap: 0 20px; overflow-x: auto; scrollbar-width: thin; }
.shop-nav a { white-space: nowrap; letter-spacing: 1.5px; flex: none; }
.shop-nav a.shop-cart { position: sticky; right: 0; background: #fff; padding-left: 18px; }
@media (min-width: 1300px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .shop > .container { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 1400px) { .shop-nav { gap: 0 15px; } .shop-nav a { font-size: 12px; letter-spacing: 1px; } }
