/* Burn Card Shop: the WordPress theme's colors and type, without the theme. */
:root {
  --bg: #faf6db;
  --text: #55595c;
  --ink: #3e4245;
  --accent: #881f05;
  --accent-2: #bc5910;
  --button: #55595c;
  --button-text: #fff;
  --line: #e3dcb4;
  --card: #fffdf0;
  --error: #b32d2e;
  --success: #4a7a4c;
  --radius: 6px;
  --font: "Newsreader", Georgia, "Times New Roman", serif;
  --font-button: "Ubuntu", system-ui, sans-serif; /* buttons: bold sans */
  --wide: 1200px;
  --narrow: 760px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 19px/1.6 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
h1, h2, h3 { color: var(--text); font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .4em 0 .5em; overflow-wrap: anywhere; }
h2 { font-size: 1.6rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
.sr, .sr-label small { }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: #8a8d8f; }
.small { font-size: .85em; }
.right { text-align: right; }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; }
.site-header .logo img { display: block; width: 200px; }
.nav { margin-left: auto; position: relative; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a, .nav summary { color: var(--text); text-decoration: none; font-size: 1.05rem; cursor: pointer; }
.nav-links a:hover, .nav summary:hover { color: var(--accent); }
.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: " ⌄"; font-size: .8em; }
.nav details ul { position: absolute; top: 2em; left: -12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); list-style: none; padding: 8px 0; margin: 0; min-width: 260px; z-index: 5; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.nav details li a { display: block; padding: 6px 16px; }
.nav-toggle, .nav-burger { display: none; }
.header-icons { display: flex; gap: 18px; align-items: center; }
.icon-link { color: var(--text); position: relative; display: inline-flex; }
.icon-link:hover { color: var(--accent); }
.badge { position: absolute; top: -8px; right: -10px; background: var(--accent); color: #fff; border-radius: 999px; font: 600 11px/18px system-ui, sans-serif; min-width: 18px; text-align: center; padding: 0 4px; }

/* layout */
main { min-height: 50vh; }
.container { max-width: var(--wide); margin: 0 auto; padding: 0 40px; }
.container.narrow, .narrow { max-width: var(--narrow); }
main.wide .container { max-width: 1920px; }
.notice { margin: 0 0 16px; padding: 12px 16px; background: var(--card); border-left: 4px solid var(--success); border-radius: var(--radius); }
.notice.error { border-left-color: var(--error); color: var(--error); }

/* hero */
.hero { background-size: cover; background-position: center; position: relative; min-height: clamp(300px, 40vw, 70vh); display: flex; align-items: center; justify-content: center; text-align: center; margin-bottom: 40px; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(40, 40, 40, .68); }
.hero-inner { position: relative; color: #fff; padding: 40px 20px; }
.hero h1 { color: #fff; margin: 0 0 .4em; }
.hero p { margin: .2em 0; font-weight: 600; }
.button.hero-button { margin-top: 1em; background: linear-gradient(65deg, #881f05 0%, #bc5910 50%, #881f05 100%); text-transform: uppercase; font-size: .85rem; }

/* buttons */
.button { display: inline-block; text-align: center; background: var(--button); color: var(--button-text); border: 0; border-radius: 4px; padding: .55em 1.1em; font: inherit; font-family: var(--font-button); font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: none; line-height: 1.4; }
.button:hover { background: #3e4245; color: #fff; }
.button { text-transform: uppercase; letter-spacing: .03em; }
.hint { color: #8a8d8f; font-size: .9rem; margin-top: 1em; }
.notice.offer p { margin: .4em 0; }
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--text); }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.wide-button { display: block; width: 100%; text-align: center; padding: .8em; font-size: 1rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9em; }
.inline-form { display: inline; }

/* tiles */
.shelf { margin: 50px 0 70px; }
.shelf h2 { margin-bottom: 20px; }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 48px 16px; }
.tile { text-align: center; display: flex; flex-direction: column; align-items: center; }
.tile-image { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #eee; }
.tile-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-image .gif-overlay { position: absolute; right: 0; bottom: 0; width: 33%; height: auto; aspect-ratio: 1; object-fit: cover; pointer-events: none; }
.sale-badge { position: absolute; top: 10px; right: 10px; background: linear-gradient(65deg, #881f05 0%, #bc5910 50%, #881f05 100%); color: #fff; border: 3px solid #faf6db; border-radius: 8px; padding: 3px 10px 1px; text-transform: uppercase; font-size: .8rem; font-weight: 600; }
.tile-title { font-size: 1.05rem; font-weight: 400; margin: 12px 0 6px; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.tile-title a { color: var(--text); text-decoration: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tile-price { margin: 0 0 12px; font-size: .9rem; }
del { opacity: .6; }
ins { text-decoration: none; color: var(--accent); font-weight: 600; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.chips a { display: inline-block; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 2px 14px; text-decoration: none; color: var(--text); font-size: .9rem; }
.crumbs { font-size: .85rem; margin: 0 0 10px; }

/* product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 40px; }
.gallery-main img { display: block; width: 100%; border-radius: 4px; }
.thumbs { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 6px; }
.thumbs button { padding: 0; border: 0; background: none; cursor: pointer; display: block; width: 100%; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 3px; }
.summary h1 { margin-top: 0; }
.summary .price { font-size: 1.6rem; margin: 0 0 12px; }
.options { display: grid; gap: 12px; margin: 16px 0; }
.option-row { display: flex; align-items: center; gap: 1em; }
.option-row label { font-weight: 700; min-width: 7em; }
select, input, textarea { font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #bbb; border-radius: 4px; padding: .5em .7em; max-width: 100%; }
.option-row select { min-width: 12em; height: 3em; }
.variant-info { min-height: 1.5em; }
.variant-info .price { font-size: 1.3rem; }
.variant-info .fees { font-size: .95rem; }
.add-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.add-row input { width: 5em; height: 2.6em; text-align: center; }
.add-row .button { height: 2.6em; }
.description { border-top: 1px solid var(--line); padding-top: 10px; margin-bottom: 40px; max-width: 900px; }

/* cart, checkout */
table { border-collapse: collapse; width: 100%; }
.cart th, .cart td, .lines th, .lines td, .totals-table th, .totals-table td, .orders th, .orders td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.num { text-align: right !important; white-space: nowrap; }
.meta { list-style: none; padding: 0; margin: 4px 0 0; font-size: .85rem; }
.meta span { color: #8a8d8f; }
.qty-input { width: 4.5em; }
.remove { background: none; border: 0; font-size: 1.4rem; color: var(--text); cursor: pointer; }
.fee-sets { font-size: .85rem; margin-top: 6px; }
.fee-sets small { display: block; color: #8a8d8f; }
.cart-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 30px 0 60px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; }
.totals-table .total th, .totals-table .total td, .lines .total th, .lines .total td { font-size: 1.15rem; font-weight: 600; }
.ship-option { display: block; font-size: .9rem; cursor: pointer; text-align: left; }
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; margin-bottom: 60px; align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { font-size: 1.3rem; margin-bottom: 8px; }
.checkout-form label { display: block; margin-bottom: 12px; font-size: .95rem; }
.checkout-form input, .checkout-form select, .checkout-form textarea { display: block; width: 100%; margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 12px; }
.order-review { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; position: sticky; top: 20px; }
.order-review h2 { margin-top: 0; font-size: 1.3rem; }
.coupon-form { margin: 16px 0; }
#card-element { background: #fff; border-radius: 6px; margin-bottom: 12px; min-height: 60px; }
.or { text-align: center; margin: 16px 0; color: #8a8d8f; }
.order-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; border: 1px dashed var(--line); border-radius: 8px; padding: 14px 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin: 30px 0; }
.customer-note { background: var(--card); border-left: 3px solid var(--accent-2); padding: 8px 12px; margin: 10px 0; }
.page { margin-bottom: 60px; }

/* footer */
.site-footer { padding: 40px; margin-top: 60px; }
.footer-inner { max-width: 100%; display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 1.15rem; }
.footer-links summary { cursor: pointer; }
.footer-links ul { list-style: none; padding: 6px 0 0 12px; font-size: 1rem; }

/* art gallery (ported from the plugin's shortcode) */
#bcs-art-gallery { color: var(--text); max-width: 1920px; margin: auto; }
#bcs-art-gallery input { display: none; }
#bcs-art-gallery .row-name { font-weight: bold; font-size: 32px; margin-top: 50px; margin-bottom: 20px; }
#bcs-art-gallery .row { text-align: center; }
#bcs-art-gallery .row-item { height: 220px; display: inline-block; position: relative; padding: 5px; cursor: zoom-in; }
#bcs-art-gallery img { max-height: 100%; border-radius: 6px; }
#bcs-art-gallery input[type="checkbox"]:checked + label { position: fixed; inset: 0; max-width: 100vw; max-height: 100vh; background: rgba(0,0,0,.9); z-index: 999; height: 100vh !important; cursor: zoom-out; }
#bcs-art-gallery input[type="checkbox"]:checked + label img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: calc(100vw - 20px); max-height: calc(100vh - 20px); border-radius: 0; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .site-header { padding: 20px 16px; flex-wrap: wrap; }
  .container { padding: 0 16px; }
  .site-footer { padding: 30px 16px; }
  .nav { order: 3; margin-left: 0; }
  .nav-burger { display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
  .nav-burger span { width: 24px; height: 2px; background: var(--text); display: block; }
  .nav-links { display: none; position: absolute; top: 40px; left: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0; min-width: 260px; z-index: 6; }
  .nav-links li { width: 100%; }
  .nav-links a, .nav summary { display: block; padding: 8px 16px; }
  .nav details ul { position: static; border: 0; box-shadow: none; background: none; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .header-icons { margin-left: auto; }
  .product, .checkout, .cart-bottom { grid-template-columns: 1fr; gap: 24px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .order-review { position: static; }
  .three, .two { grid-template-columns: 1fr; }
  .cart th:nth-child(2), .cart td:nth-child(2) { display: none; }
  .footer-inner { flex-direction: column; }
  .option-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .option-row select { min-width: 0; width: 100%; }
}
[hidden] { display: none !important; }
.account-links .linkish { font-size: inherit; }
select option.unavailable { color: #a3a6a8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
form.updating .cart { opacity: .6; transition: opacity .2s; }
:root { --admin-bar-gutter: 40px; }
@media (max-width: 860px) { :root { --admin-bar-gutter: 16px; } }
.backorder { color: #a04e00; font-size: .9rem; font-weight: 600; }
.notice.backorder-notice { border-left-color: #bc5910; }
#checkout-totals.updating { opacity: .6; transition: opacity .2s; }
/* cart and checkout lines: picture beside the name */
.cart-item { display: flex; gap: 12px; align-items: flex-start; }
.cart-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 6px; overflow: hidden; background: #eee; display: block; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-text { min-width: 0; }
.cart-item-extra { margin-left: 76px; }
.order-review .cart-thumb { flex-basis: 48px; width: 48px; height: 48px; }
@media (max-width: 860px) { .cart-item-extra { margin-left: 0; } }
#checkout-totals > .notice { margin: 16px 0; }
#card-element iframe { background: var(--card); } /* Stripe card form: blend into the order box */
.signin-email { display: flex; gap: 8px; flex-wrap: wrap; }
.signin-email input { flex: 1 1 14em; }
.maintenance { text-align: center; padding: 60px 0; }
input[name="code"] { text-transform: uppercase; }
input[name="code"]::placeholder { text-transform: none; }
