
.spm-wrap{max-width:1100px;margin:30px auto;padding:0 18px;font-family:inherit;color:#222}.spm-card,.spm-album-block{background:#fff;border:1px solid #e6e6e6;border-radius:18px;padding:28px;margin-bottom:24px;box-shadow:0 8px 28px rgba(0,0,0,.05)}.spm-brand{font-weight:700;letter-spacing:.04em}.spm-card h1{margin:.35em 0 .7em}.spm-muted{color:#666}.spm-summary{margin:22px 0;padding:18px 20px;border:1px solid #ececec;border-radius:14px;background:#fafafa}.spm-summary-row{display:flex;align-items:flex-start;gap:18px;padding:10px 0;border-bottom:1px solid #ededed;line-height:1.5}.spm-summary-row:last-child{border-bottom:0}.spm-summary-row span{display:block;flex:0 0 130px;font-weight:600;color:#666}.spm-summary-row strong{font-weight:600;color:#222}.spm-section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:22px 0 14px}.spm-section-title h2,.spm-section-title h3{margin:0}.spm-album-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #e8e8e8;border-radius:14px;padding:18px;margin:12px 0}.spm-album-row>div{display:flex;flex-direction:column;gap:7px}.spm-album-row span{color:#777}.spm-album-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:18px;border-bottom:1px solid #eee}.spm-eyebrow{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#888;margin-bottom:7px}.spm-album-head h2{margin:0 0 8px}.spm-album-head p{margin:0;color:#777}.spm-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px}.spm-photo-card{border:1px solid #e6e6e6;border-radius:16px;overflow:hidden;background:#fff}.spm-photo-image{position:relative;display:flex;align-items:center;justify-content:center;background:#f5f5f5;padding:10px;min-height:180px}.spm-photo-image img{display:block;pointer-events:none;user-select:none;-webkit-user-drag:none;width:auto!important;height:auto!important;max-width:100%!important;max-height:70vh!important;object-fit:contain!important}.spm-watermark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-22deg);font-size:clamp(18px,3vw,32px);font-weight:700;letter-spacing:.08em;color:rgba(255,255,255,.72);text-shadow:0 1px 3px rgba(0,0,0,.65);white-space:nowrap;pointer-events:none;user-select:none}.spm-photo-info{display:flex;justify-content:space-between;gap:15px;padding:14px 15px 10px}.spm-photo-info strong{font-weight:600}.spm-photo-info span{white-space:nowrap}.spm-photo-cart{display:block;margin:0 15px 15px;text-align:center}.spm-packages{margin:24px 0}.spm-package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.spm-package{border:1px solid #e6e6e6;border-radius:14px;padding:18px}.spm-package h4{margin:0 0 8px}.spm-package p{margin:0 0 12px}.spm-price{font-weight:700;font-size:18px;margin-bottom:14px}.spm-button{display:inline-block;padding:11px 17px;border-radius:9px;background:#111;color:#fff!important;text-decoration:none!important;border:0;cursor:pointer}.spm-button:hover{opacity:.88}.spm-small{padding:9px 14px}.spm-secondary{background:#555}.spm-checkout-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.spm-notice{padding:14px;border-radius:10px;margin:14px 0}.spm-notice-error{background:#fff2f2;color:#8a1f1f}.spm-success{padding:14px;border-radius:10px;background:#f1fff5;margin-bottom:18px}.spm-link{display:inline-block;margin-top:12px}.spm-photo-placeholder{padding:70px 20px;text-align:center;background:#f5f5f5;color:#777}.spm-unavailable{display:block;padding:0 15px 15px;color:#888}@media(max-width:650px){.spm-summary-row{display:block}.spm-summary-row span{margin-bottom:4px}.spm-album-row,.spm-album-head{align-items:stretch;flex-direction:column}.spm-photo-grid{grid-template-columns:1fr}.spm-photo-image img{max-height:60vh!important}.spm-watermark{font-size:18px}}

.spm-photo-select-card{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.spm-photo-select-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08)}.spm-photo-select-card:has(.spm-photo-radio:checked){outline:3px solid #111;outline-offset:2px}.spm-photo-select-row{display:flex;align-items:center;gap:9px;padding:12px 15px 2px;font-weight:600}.spm-photo-checkbox{width:18px;height:18px;accent-color:#111}.spm-selection-status{margin-top:12px;padding:10px 14px;border-radius:9px;background:#f7f7f7;font-weight:600}.spm-photo-info{padding:10px 15px 15px}.spm-package-cart{cursor:pointer}.spm-photo-cart{display:none!important}

.spm-photo-select-row{display:flex;align-items:center;gap:8px;margin-top:10px}.spm-photo-radio{width:18px;height:18px}.spm-selection-status{margin-top:12px;font-weight:600}

/* v4.1: larger photo previews and repeated studio watermark */
.spm-photo-image{padding:2px!important;min-height:0!important;overflow:hidden;background:#fff!important}
.spm-photo-image img{width:100%!important;height:auto!important;max-width:100%!important;max-height:85vh!important;object-fit:contain!important}
.spm-watermark{position:absolute;left:auto;top:auto;transform:rotate(-22deg);font-size:clamp(15px,2vw,27px);font-weight:800;letter-spacing:.06em;color:rgba(255,255,255,.78);text-shadow:0 1px 3px rgba(0,0,0,.85),0 0 2px rgba(0,0,0,.8);white-space:nowrap;pointer-events:none;user-select:none;z-index:2}
/* Dense repeated watermark grid across the entire photo */
.spm-watermark{font-size:clamp(13px,1.7vw,22px)!important;opacity:.9;}
.spm-watermark-1{left:0%;top:5%}.spm-watermark-2{left:34%;top:5%}.spm-watermark-3{left:68%;top:5%}
.spm-watermark-4{left:0%;top:25%}.spm-watermark-5{left:34%;top:25%}.spm-watermark-6{left:68%;top:25%}
.spm-watermark-7{left:0%;top:45%}.spm-watermark-8{left:34%;top:45%}.spm-watermark-9{left:68%;top:45%}
.spm-watermark-10{left:0%;top:65%}.spm-watermark-11{left:34%;top:65%}.spm-watermark-12{left:68%;top:65%}
.spm-watermark-13{left:0%;top:85%}.spm-watermark-14{left:34%;top:85%}.spm-watermark-15{left:68%;top:85%}
.spm-package-image{display:flex;align-items:center;justify-content:center;margin:-18px -18px 16px;min-height:150px;background:#f7f7f7;border-radius:13px 13px 0 0;overflow:hidden}
.spm-package-image img{display:block;width:100%;height:210px;max-width:100%;object-fit:contain;padding:10px;box-sizing:border-box}
@media(max-width:650px){.spm-photo-image img{max-height:75vh!important}.spm-watermark{font-size:15px}.spm-package-image img{height:180px}}


/* Passcode access form: balanced spacing and responsive alignment */
.spm-form{display:flex;align-items:center;flex-wrap:wrap;gap:12px 14px;margin-top:26px;max-width:100%;}
.spm-form label{display:block;margin:0 2px 0 0;font-weight:500;line-height:1.5;white-space:nowrap;}
.spm-form input[type="text"],.spm-form input[name="spm_passcode"]{box-sizing:border-box;min-width:0;width:280px;max-width:100%;height:52px;padding:0 14px;border:1px solid #d7d7d7;border-radius:9px;background:#fff;color:#222;font:inherit;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease;}
.spm-form input[name="spm_passcode"]:focus{outline:none;border-color:#777;box-shadow:0 0 0 3px rgba(17,17,17,.08);}
.spm-form .spm-button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 22px;border-radius:9px;white-space:nowrap;font-weight:600;line-height:1.2;transition:background .18s ease,transform .18s ease;}
.spm-form .spm-button:hover{opacity:1;background:#292929;transform:translateY(-1px);}
@media(max-width:600px){.spm-form{align-items:stretch;flex-direction:column;gap:10px;margin-top:22px;}.spm-form label{white-space:normal;margin-bottom:0;}.spm-form input[type="text"],.spm-form input[name="spm_passcode"]{width:100%;}.spm-form .spm-button{width:100%;}}

/* v4.2.1 hard override: passcode form spacing across themes/builders */
.spm-wrap .spm-card form.spm-form{
  display:flex !important;
  flex-flow:row wrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  column-gap:16px !important;
  row-gap:12px !important;
  margin:26px 0 0 !important;
  padding:0 !important;
  width:100% !important;
}
.spm-wrap .spm-card form.spm-form > label{
  display:block !important;
  flex:0 0 auto !important;
  width:auto !important;
  margin:0 4px 0 0 !important;
  padding:0 !important;
  line-height:1.5 !important;
  white-space:nowrap !important;
}
.spm-wrap .spm-card form.spm-form > input#spm_passcode{
  display:block !important;
  flex:0 1 280px !important;
  width:280px !important;
  min-width:180px !important;
  max-width:100% !important;
  height:52px !important;
  box-sizing:border-box !important;
  margin:0 4px 0 0 !important;
  padding:0 14px !important;
  border:1px solid #d7d7d7 !important;
  border-radius:9px !important;
  background:#fff !important;
  color:#222 !important;
  box-shadow:none !important;
  font:inherit !important;
}
.spm-wrap .spm-card form.spm-form > button.spm-button{
  display:inline-flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:138px !important;
  min-height:52px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:0 22px !important;
  border:0 !important;
  border-radius:9px !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
}
.spm-wrap .spm-card form.spm-form > input#spm_passcode:focus{
  outline:0 !important;
  border-color:#777 !important;
  box-shadow:0 0 0 3px rgba(17,17,17,.10) !important;
}
@media(max-width:600px){
  .spm-wrap .spm-card form.spm-form{flex-direction:column !important;align-items:stretch !important;gap:12px !important;}
  .spm-wrap .spm-card form.spm-form > label{white-space:normal !important;}
  .spm-wrap .spm-card form.spm-form > input#spm_passcode{flex:0 0 auto !important;width:100% !important;min-width:0 !important;margin:0 !important;}
  .spm-wrap .spm-card form.spm-form > button.spm-button{width:100% !important;}
}
