.cf-dynamic-product .site-header { justify-content: space-between; }
.cf-dynamic-product .model-summary { min-width: 0; }
.cf-dynamic-product .model-photo a,
.cf-product-views a { display: block; }
.cf-dynamic-product .model-photo img,
.cf-product-views img { display: block; width: 100%; height: auto; }
.cf-dynamic-product .cf-box-detail { display: block; aspect-ratio: 1; position: relative; overflow: hidden; background: #e8dfd0; }
.cf-dynamic-product .cf-box-detail img { position: absolute; width: 183%; max-width: none; left: -61%; top: -35%; }
.cf-product-views { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr)); gap: .8rem; margin-top: 1rem; }
.cf-product-views figure { margin: 0; min-width: 0; }
.cf-product-views img { max-height: 225px; object-fit: contain; background: #ece4d8; border-radius: 4px; }
.cf-product-views figcaption { font-size: .9rem; margin-block: .3rem; color: #544331; }
.cf-product-dialog { width: min(42rem, calc(100% - 2rem)); max-height: 90dvh; overflow: auto; padding: 1.25rem; border: 1px solid #826247; border-radius: 6px; background: #f8f3e9; color: #34291f; }
.cf-product-dialog::backdrop { background: rgb(23 20 14 / .76); }
.cf-product-dialog form { display: flex; justify-content: flex-end; }
.cf-product-dialog button { min-height: 44px; padding: .5rem 1rem; border: 1px solid #785438; border-radius: 3px; background: #f7efe3; color: #3a2a1d; font: inherit; cursor: pointer; }
.cf-product-dialog button:hover { background: #ebdecc; }
.cf-dynamic-product :is(.model-photo a, .cf-product-views a, .cf-product-dialog button):focus-visible { outline: 3px solid #674124; outline-offset: 3px; }
.cf-product-dialog figure { margin: .75rem 0; }
.cf-product-dialog figure img { max-height: 61dvh; width: 100%; height: auto; display: block; object-fit: contain; }
.cf-product-dialog figcaption { margin-top: .5rem; }
.cf-view-nav { display: flex; gap: .5rem; justify-content: space-between; flex-wrap: wrap; }
.cf-view-nav[hidden] { display: none; }
#cf-product-display label { display: flex; gap: .7rem; align-items: center; min-height: 44px; }
#cf-product-display input { width: 1.2rem; height: 1.2rem; }
@media (max-width: 650px) {
  .cf-dynamic-product .breadcrumb { overflow-wrap: anywhere; flex-wrap: wrap; }
  .cf-product-dialog { padding: .9rem; }
}
