/* Bliss Theme Cakes */
.btc-hide { display: none !important; }

/* Order page */
.btc-cta { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; }
.btc-order-note { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(178, 34, 34, .06); border: 1px solid rgba(178, 34, 34, .18); font-size: 14px; line-height: 1.5; }
.btc-from { font-size: 13px; font-weight: 600; letter-spacing: .02em; opacity: .7; margin-right: 6px; }

/* Theme gallery */
.btc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin: 14px 0 22px; }
.btc-card { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px 10px 12px; border-radius: 18px; border: 1.5px solid rgba(122, 29, 42, .14); background: #fffaf6; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.btc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(122, 29, 42, .45); border-color: rgba(122, 29, 42, .35); }
.btc-card:focus-visible { outline: 3px solid rgba(178, 34, 34, .45); outline-offset: 2px; }
.btc-card.on { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .16), 0 12px 26px -16px rgba(122, 29, 42, .6); background: #fff; }
.btc-card.on::after { content: '✓'; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: #b3261e; color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.btc-art { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fff 0%, #fbeee4 70%); }
.btc-art svg { display: block; width: 100%; height: 100%; }
.btc-badge { position: absolute; left: 8px; bottom: 8px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.btc-name { font-weight: 600; font-size: 14px; line-height: 1.25; margin-top: 4px; }
.btc-blurb { font-size: 12px; line-height: 1.35; opacity: .65; }

.btc-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin: 16px 0 6px; }
.btc-fields .dc-field { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 640px) {
	.btc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.btc-fields { grid-template-columns: 1fr; }
}
.btc-flash { animation: btcFlash 1.2s ease 2; border-radius: 12px; }
@keyframes btcFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(179, 38, 30, 0); } 50% { box-shadow: 0 0 0 4px rgba(179, 38, 30, .35); } }

/* Estimate */
.btc-est { margin-top: 16px; padding: 18px 18px 16px; border-radius: 18px; background: #fff; border: 1px solid rgba(122, 29, 42, .14); box-shadow: 0 14px 30px -24px rgba(122, 29, 42, .55); }
.btc-est-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.btc-est-head em { font-style: normal; text-transform: none; letter-spacing: 0; color: #b3261e; opacity: 1; font-size: 13px; }
.btc-est-total { display: block; margin: 6px 0 10px; font-family: "Instrument Serif", "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.1; color: #7a1d2a; }
.btc-est-lines { list-style: none; margin: 0 0 12px; padding: 10px 0 0; border-top: 1px dashed rgba(122, 29, 42, .2); }
.btc-est-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 3px 0; }
.btc-est-lines li span { opacity: .75; }
.btc-est small { display: block; font-size: 12px; line-height: 1.45; opacity: .7; }

/* Cake studio preview */
.dc-stage svg { display: block; width: 100%; height: 100%; }
.dc-stage { overflow: hidden; }
.btc-caption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 2px 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
@media (min-width: 900px) { .dc-preview { position: sticky; top: 120px; align-self: start; } }
