/* v1.7.4 Customer Bootstrap CSS Reset
   Purpose: app.css is loaded after Bootstrap and old customer CSS was overriding Bootstrap page layouts.
   This file loads last and restores Bootstrap behavior only inside customer content pages.
   Homepage/category custom sections are intentionally not targeted. */

:root{
  --ps-page-bg:#ffffff;
  --ps-card-border:#e5e9f2;
  --ps-ink:#111827;
  --ps-muted:#64748b;
}

body.storefront{
  background:var(--ps-page-bg)!important;
  color:var(--ps-ink)!important;
}

/* Preserve header/footer, but make main content behave like normal Bootstrap pages. */
.site-shell main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
}

/* Bootstrap customer-page foundation */
.site-shell main .customer-page,
.site-shell main .account-page-v1710,
.site-shell main .cart-page-v1710,
.site-shell main .checkout-page-v1710,
.site-shell main .order-page-v1710,
.site-shell main .auth-page-v1710{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-top:3rem!important;
  padding-bottom:3rem!important;
  background:#fff!important;
}

.site-shell main .customer-page .container,
.site-shell main .customer-page .container-lg,
.site-shell main .customer-page .container-xl,
.site-shell main .account-page-v1710 .container,
.site-shell main .account-page-v1710 .container-lg,
.site-shell main .account-page-v1710 .container-xl,
.site-shell main .cart-page-v1710 .container,
.site-shell main .cart-page-v1710 .container-lg,
.site-shell main .cart-page-v1710 .container-xl,
.site-shell main .checkout-page-v1710 .container,
.site-shell main .checkout-page-v1710 .container-lg,
.site-shell main .checkout-page-v1710 .container-xl,
.site-shell main .order-page-v1710 .container,
.site-shell main .order-page-v1710 .container-lg,
.site-shell main .order-page-v1710 .container-xl,
.site-shell main .auth-page-v1710 .container,
.site-shell main .auth-page-v1710 .container-lg,
.site-shell main .auth-page-v1710 .container-xl{
  width:100%!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:24px!important;
  padding-right:24px!important;
}

/* Restore Bootstrap grid behavior in customer pages if older CSS overrides it. */
.site-shell main .customer-page .row,
.site-shell main .account-page-v1710 .row,
.site-shell main .cart-page-v1710 .row,
.site-shell main .checkout-page-v1710 .row,
.site-shell main .order-page-v1710 .row,
.site-shell main .auth-page-v1710 .row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch;
}

.site-shell main .customer-page [class*="col-"],
.site-shell main .account-page-v1710 [class*="col-"],
.site-shell main .cart-page-v1710 [class*="col-"],
.site-shell main .checkout-page-v1710 [class*="col-"],
.site-shell main .order-page-v1710 [class*="col-"],
.site-shell main .auth-page-v1710 [class*="col-"]{
  min-width:0!important;
}

/* Unified modern Bootstrap elements */
.site-shell main .customer-page .card,
.site-shell main .account-page-v1710 .card,
.site-shell main .cart-page-v1710 .card,
.site-shell main .checkout-page-v1710 .card,
.site-shell main .order-page-v1710 .card,
.site-shell main .auth-page-v1710 .card{
  background:#fff!important;
  border:1px solid var(--ps-card-border)!important;
  border-radius:1.25rem!important;
  box-shadow:0 12px 34px rgba(15,23,42,.06)!important;
}

.site-shell main .customer-page .form-label,
.site-shell main .account-page-v1710 .form-label,
.site-shell main .cart-page-v1710 .form-label,
.site-shell main .checkout-page-v1710 .form-label,
.site-shell main .order-page-v1710 .form-label,
.site-shell main .auth-page-v1710 .form-label{
  display:block!important;
  margin-bottom:.45rem!important;
  color:var(--ps-ink)!important;
  font-weight:700!important;
}

.site-shell main .customer-page .form-control,
.site-shell main .customer-page .form-select,
.site-shell main .account-page-v1710 .form-control,
.site-shell main .account-page-v1710 .form-select,
.site-shell main .cart-page-v1710 .form-control,
.site-shell main .cart-page-v1710 .form-select,
.site-shell main .checkout-page-v1710 .form-control,
.site-shell main .checkout-page-v1710 .form-select,
.site-shell main .order-page-v1710 .form-control,
.site-shell main .order-page-v1710 .form-select,
.site-shell main .auth-page-v1710 .form-control,
.site-shell main .auth-page-v1710 .form-select{
  width:100%!important;
  min-height:48px!important;
  color:var(--ps-ink)!important;
  background:#fff!important;
  border:1px solid #d9e1ee!important;
  border-radius:.85rem!important;
  padding:.72rem .9rem!important;
  box-shadow:none!important;
}

.site-shell main .customer-page .form-control:focus,
.site-shell main .customer-page .form-select:focus,
.site-shell main .account-page-v1710 .form-control:focus,
.site-shell main .account-page-v1710 .form-select:focus,
.site-shell main .cart-page-v1710 .form-control:focus,
.site-shell main .cart-page-v1710 .form-select:focus,
.site-shell main .checkout-page-v1710 .form-control:focus,
.site-shell main .checkout-page-v1710 .form-select:focus,
.site-shell main .order-page-v1710 .form-control:focus,
.site-shell main .order-page-v1710 .form-select:focus,
.site-shell main .auth-page-v1710 .form-control:focus,
.site-shell main .auth-page-v1710 .form-select:focus{
  border-color:#3b82f6!important;
  box-shadow:0 0 0 .22rem rgba(59,130,246,.14)!important;
}

.site-shell main .customer-page .btn,
.site-shell main .account-page-v1710 .btn,
.site-shell main .cart-page-v1710 .btn,
.site-shell main .checkout-page-v1710 .btn,
.site-shell main .order-page-v1710 .btn,
.site-shell main .auth-page-v1710 .btn{
  border-radius:.9rem!important;
  font-weight:800!important;
  padding:.68rem 1rem!important;
}

.site-shell main .customer-page .btn-primary,
.site-shell main .account-page-v1710 .btn-primary,
.site-shell main .cart-page-v1710 .btn-primary,
.site-shell main .checkout-page-v1710 .btn-primary,
.site-shell main .order-page-v1710 .btn-primary,
.site-shell main .auth-page-v1710 .btn-primary{
  background:#0d6efd!important;
  border-color:#0d6efd!important;
  color:#fff!important;
}

/* Account page approved proof layout */
.site-shell main .customer-page .account-order-row,
.site-shell main .account-page-v1710 .account-order-row{
  border:1px solid var(--ps-card-border)!important;
  border-radius:1rem!important;
  padding:1rem!important;
  margin-bottom:.85rem!important;
  background:#fff!important;
}

@media (max-width: 991.98px){
  .site-shell main .customer-page,
  .site-shell main .account-page-v1710,
  .site-shell main .cart-page-v1710,
  .site-shell main .checkout-page-v1710,
  .site-shell main .order-page-v1710,
  .site-shell main .auth-page-v1710{
    padding-top:1.5rem!important;
    padding-bottom:5rem!important;
  }
  .site-shell main .customer-page .container,
  .site-shell main .customer-page .container-lg,
  .site-shell main .customer-page .container-xl,
  .site-shell main .account-page-v1710 .container,
  .site-shell main .account-page-v1710 .container-lg,
  .site-shell main .account-page-v1710 .container-xl,
  .site-shell main .cart-page-v1710 .container,
  .site-shell main .cart-page-v1710 .container-lg,
  .site-shell main .cart-page-v1710 .container-xl,
  .site-shell main .checkout-page-v1710 .container,
  .site-shell main .checkout-page-v1710 .container-lg,
  .site-shell main .checkout-page-v1710 .container-xl,
  .site-shell main .order-page-v1710 .container,
  .site-shell main .order-page-v1710 .container-lg,
  .site-shell main .order-page-v1710 .container-xl,
  .site-shell main .auth-page-v1710 .container,
  .site-shell main .auth-page-v1710 .container-lg,
  .site-shell main .auth-page-v1710 .container-xl{
    padding-left:16px!important;
    padding-right:16px!important;
  }
}

/* v1.7.4 account page proof rebuild */
.ps-account-page{
    background:#ffffff;
    padding:56px 20px 72px;
    color:#172033;
}

.ps-account-shell{
    width:100%;
    max-width:1240px;
    margin:0 auto;
}

.ps-account-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:28px;
}

.ps-account-header h1{
    margin:0 0 6px;
    font-size:42px;
    line-height:1.05;
    font-weight:900;
    letter-spacing:-.04em;
    color:#172033;
}

.ps-account-header p{
    margin:0;
    color:#66758f;
    font-size:16px;
}

.ps-kicker{
    display:inline-flex;
    align-items:center;
    width:max-content;
    margin-bottom:10px;
    padding:7px 12px;
    border-radius:999px;
    background:#eef5ff;
    color:#0d6efd;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.ps-account-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.45fr) minmax(380px, .85fr);
    gap:28px;
    align-items:start;
}

.ps-panel{
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:24px;
    box-shadow:0 18px 50px rgba(15,23,42,.08);
    overflow:hidden;
}

.ps-panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    padding:28px 30px 20px;
    border-bottom:1px solid #edf1f7;
}

.ps-panel-head h2{
    margin:0 0 6px;
    font-size:24px;
    line-height:1.15;
    font-weight:900;
    color:#172033;
}

.ps-panel-head p{
    margin:0;
    color:#66758f;
    font-size:15px;
}

.ps-count-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    padding:8px 12px;
    border-radius:999px;
    background:#f6f8fb;
    border:1px solid #e0e7f1;
    color:#172033;
    font-size:13px;
    font-weight:800;
}

.ps-orders-list{
    padding:18px 22px 24px;
}

.ps-order-card{
    display:grid;
    grid-template-columns:1.25fr .75fr .55fr auto;
    gap:18px;
    align-items:center;
    padding:18px;
    margin-bottom:12px;
    border:1px solid #edf1f7;
    border-radius:18px;
    background:#fff;
}

.ps-order-main strong{
    display:block;
    font-size:16px;
    font-weight:900;
    color:#172033;
}

.ps-order-main span{
    display:block;
    margin-top:3px;
    color:#66758f;
    font-size:14px;
}

.ps-order-status{
    display:inline-flex;
    justify-content:center;
    width:max-content;
    padding:7px 11px;
    border-radius:999px;
    background:#f1f6ff;
    border:1px solid #d9e7ff;
    color:#0d4fb3;
    font-size:13px;
    font-weight:800;
}

.ps-order-total{
    text-align:right;
    color:#172033;
    font-size:16px;
    font-weight:900;
}

.ps-profile-form{
    padding:24px 30px 30px;
}

.ps-form-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
}

.ps-field{
    min-width:0;
}

.ps-field-full{
    grid-column:1 / -1;
}

.ps-field label{
    display:block;
    margin:0 0 7px;
    color:#172033;
    font-size:14px;
    font-weight:850;
}

.ps-field input,
.ps-field select,
.ps-field textarea{
    display:block;
    width:100%;
    min-height:52px;
    padding:12px 14px;
    border:1px solid #d6dfeb;
    border-radius:14px;
    background:#fff;
    color:#172033;
    font-size:15px;
    font-weight:600;
    outline:0;
    box-shadow:none;
}

.ps-field input:focus,
.ps-field select:focus,
.ps-field textarea:focus{
    border-color:#0d6efd;
    box-shadow:0 0 0 4px rgba(13,110,253,.12);
}

.ps-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 18px;
    border-radius:14px;
    border:1px solid transparent;
    font-size:15px;
    font-weight:900;
    text-decoration:none;
    cursor:pointer;
    line-height:1;
}

.ps-btn-primary{
    background:#0d6efd;
    border-color:#0d6efd;
    color:#fff !important;
    box-shadow:0 12px 26px rgba(13,110,253,.2);
}

.ps-btn-primary:hover{
    background:#0b5ed7;
    border-color:#0b5ed7;
    color:#fff !important;
}

.ps-btn-outline{
    background:#fff;
    border-color:#dbe4f0;
    color:#172033 !important;
}

.ps-btn-outline:hover{
    background:#f6f8fb;
}

.ps-btn-sm{
    min-height:38px;
    padding:8px 14px;
    border-radius:12px;
    font-size:14px;
}

.ps-btn-wide{
    width:100%;
    min-height:54px;
}

.ps-alert{
    margin-bottom:20px;
    padding:16px 18px;
    border-radius:16px;
    border:1px solid transparent;
    font-weight:700;
}

.ps-alert ul{
    margin-bottom:0;
}

.ps-alert-success{
    background:#ecfdf3;
    border-color:#bbf7d0;
    color:#166534;
}

.ps-alert-danger{
    background:#fff1f2;
    border-color:#fecdd3;
    color:#9f1239;
}

.ps-empty-state{
    text-align:center;
    padding:46px 24px;
    border:1px dashed #cbd5e1;
    border-radius:20px;
    background:#f8fafc;
}

.ps-empty-state h3{
    margin:0 0 8px;
    font-size:20px;
    font-weight:900;
    color:#172033;
}

.ps-empty-state p{
    color:#66758f;
    margin-bottom:18px;
}

@media (max-width: 991.98px){
    .ps-account-page{
        padding:32px 14px 56px;
    }

    .ps-account-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .ps-account-header h1{
        font-size:34px;
    }

    .ps-account-grid{
        grid-template-columns:1fr;
    }

    .ps-order-card{
        grid-template-columns:1fr;
        gap:10px;
    }

    .ps-order-total{
        text-align:left;
    }

    .ps-form-grid{
        grid-template-columns:1fr;
    }
}


/* v1.7.4 cart page proof rebuild */
.ps-cart-page{
    background:#ffffff;
    padding:56px 20px 72px;
    color:#172033;
}

.ps-cart-shell{
    width:100%;
    max-width:1240px;
    margin:0 auto;
}

.ps-cart-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:28px;
}

.ps-cart-header h1{
    margin:0 0 6px;
    font-size:42px;
    line-height:1.05;
    font-weight:900;
    letter-spacing:-.04em;
    color:#172033;
}

.ps-cart-header p{
    margin:0;
    color:#66758f;
    font-size:16px;
}

.ps-cart-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 380px;
    gap:28px;
    align-items:start;
}

.ps-cart-items{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.ps-cart-card{
    display:grid;
    grid-template-columns:120px minmax(0, 1fr);
    gap:22px;
    padding:22px;
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:24px;
    box-shadow:0 18px 50px rgba(15,23,42,.08);
}

.ps-cart-thumb{
    width:120px;
    height:120px;
    border-radius:20px;
    overflow:hidden;
    background:#f3f6fb;
    border:1px solid #e4ebf5;
}

.ps-cart-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.ps-cart-thumb-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#66758f;
    font-weight:900;
}

.ps-cart-body{
    min-width:0;
}

.ps-cart-item-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    margin-bottom:12px;
}

.ps-cart-item-top h2{
    margin:0 0 7px;
    font-size:22px;
    line-height:1.2;
    font-weight:900;
    color:#172033;
}

.ps-cart-item-top p{
    margin:0;
    color:#66758f;
    font-size:14px;
}

.ps-cart-item-top p strong{
    color:#172033;
}

.ps-cart-price{
    flex:0 0 auto;
    font-size:22px;
    font-weight:950;
    color:#172033;
    text-align:right;
}

.ps-option-pills{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:12px 0;
}

.ps-option-pills span{
    display:inline-flex;
    align-items:center;
    padding:7px 11px;
    border-radius:999px;
    background:#f6f8fb;
    border:1px solid #e0e7f1;
    color:#172033;
    font-size:13px;
    font-weight:750;
}

.ps-artwork-status{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    margin:4px 0 12px;
    padding:9px 12px;
    border-radius:14px;
    background:#f8fbff;
    border:1px solid #dbeafe;
    color:#172033;
    font-size:14px;
}

.ps-artwork-muted{
    margin:10px 0;
    color:#66758f;
    font-size:14px;
}

.ps-artwork-note{
    margin:10px 0;
    color:#172033;
    font-size:14px;
}

.ps-cart-upload-block{
    margin-top:12px;
}

.ps-cart-upload-block h3{
    margin:0 0 10px;
    font-size:15px;
    font-weight:900;
    color:#172033;
}

.ps-cart-upload-block .artwork-preview-grid,
.ps-cart-upload-block .upload-preview-grid,
.ps-cart-upload-block .preview-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fill, minmax(110px, 1fr))!important;
    gap:10px!important;
}

.ps-cart-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.ps-cart-summary{
    position:sticky;
    top:18px;
}

.ps-summary-card{
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:24px;
    box-shadow:0 18px 50px rgba(15,23,42,.08);
    padding:26px;
}

.ps-summary-card h2{
    margin:0 0 20px;
    font-size:24px;
    font-weight:900;
    color:#172033;
}

.ps-summary-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:12px 0;
    border-bottom:1px solid #edf1f7;
    color:#66758f;
    font-size:15px;
}

.ps-summary-line strong{
    color:#172033;
    font-weight:900;
}

.ps-summary-total{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:18px 0 22px;
    padding-top:18px;
    color:#172033;
    font-size:22px;
    font-weight:950;
}

.ps-empty-cart{
    max-width:720px;
    margin:0 auto;
    text-align:center;
    padding:70px 24px;
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:28px;
    box-shadow:0 18px 50px rgba(15,23,42,.08);
}

.ps-empty-cart h2{
    margin:0 0 10px;
    font-size:30px;
    font-weight:950;
    color:#172033;
}

.ps-empty-cart p{
    margin:0 0 22px;
    color:#66758f;
}

.ps-btn-danger{
    background:#fff;
    border-color:#fecdd3;
    color:#be123c!important;
}

.ps-btn-danger:hover{
    background:#fff1f2;
    color:#9f1239!important;
}

@media (max-width: 991.98px){
    .ps-cart-page{
        padding:32px 14px 56px;
    }

    .ps-cart-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .ps-cart-header h1{
        font-size:34px;
    }

    .ps-cart-grid{
        grid-template-columns:1fr;
    }

    .ps-cart-summary{
        position:static;
    }

    .ps-cart-card{
        grid-template-columns:92px minmax(0, 1fr);
        gap:14px;
        padding:16px;
        border-radius:20px;
    }

    .ps-cart-thumb{
        width:92px;
        height:92px;
        border-radius:16px;
    }

    .ps-cart-item-top{
        flex-direction:column;
        gap:8px;
    }

    .ps-cart-price{
        text-align:left;
        font-size:20px;
    }
}

@media (max-width: 575.98px){
    .ps-cart-card{
        grid-template-columns:1fr;
    }

    .ps-cart-thumb{
        width:100%;
        height:180px;
    }
}


/* v1.7.4 checkout page proof rebuild */
.ps-checkout-page{
    background:#ffffff;
    padding:56px 20px 72px;
    color:#172033;
}

.ps-checkout-shell{
    width:100%;
    max-width:1240px;
    margin:0 auto;
}

.ps-checkout-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    margin-bottom:28px;
}

.ps-checkout-header h1{
    margin:0 0 6px;
    font-size:42px;
    line-height:1.05;
    font-weight:950;
    letter-spacing:-.04em;
    color:#172033;
}

.ps-checkout-header p{
    margin:0;
    max-width:720px;
    color:#66758f;
    font-size:16px;
}

.ps-checkout-links{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:10px;
}

.ps-checkout-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 390px;
    gap:28px;
    align-items:start;
}

.ps-checkout-main{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.ps-checkout-panel{
    overflow:hidden;
}

.ps-panel-body{
    padding:24px 30px 30px;
}

.ps-form-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:16px;
}

.ps-form-grid-2{
    grid-template-columns:repeat(2, minmax(0,1fr));
}

.ps-account-create summary{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:20px 30px;
    font-weight:900;
    color:#172033;
    cursor:pointer;
    list-style:none;
}

.ps-account-create summary::-webkit-details-marker{
    display:none;
}

.ps-account-create summary small{
    color:#66758f;
    font-weight:800;
}

.ps-check-row{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:0 0 18px;
    color:#172033;
    font-weight:750;
}

.ps-check-row input{
    flex:0 0 auto;
    margin-top:4px;
}

.ps-fulfillment-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:14px;
    margin-bottom:20px;
}

.ps-fulfillment-card{
    display:flex;
    align-items:flex-start;
    gap:12px;
    min-height:112px;
    padding:16px;
    border:1px solid #dbe4f0;
    border-radius:18px;
    background:#fff;
    cursor:pointer;
}

.ps-fulfillment-card:hover{
    border-color:#0d6efd;
    box-shadow:0 10px 24px rgba(13,110,253,.08);
}

.ps-fulfillment-card input{
    margin-top:4px;
}

.ps-fulfillment-card strong{
    display:block;
    color:#172033;
    font-weight:900;
    margin-bottom:5px;
}

.ps-fulfillment-card small{
    display:block;
    color:#66758f;
    line-height:1.35;
}

.ps-shipping-box{
    margin-top:18px;
    padding:20px;
    border:1px solid #dbe4f0;
    border-radius:20px;
    background:#f8fbff;
}

.ps-shipping-box h3{
    margin:0 0 16px;
    color:#172033;
    font-size:18px;
    font-weight:900;
}

.ps-checkout-summary{
    position:sticky;
    top:18px;
}

.ps-checkout-items{
    margin-bottom:18px;
}

.ps-checkout-item{
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:12px 0;
    border-bottom:1px solid #edf1f7;
}

.ps-checkout-item strong{
    display:block;
    color:#172033;
    font-weight:900;
    line-height:1.25;
}

.ps-checkout-item span{
    display:block;
    margin-top:3px;
    color:#66758f;
    font-size:13px;
}

.ps-checkout-item b{
    color:#172033;
    font-weight:900;
    white-space:nowrap;
}

.ps-mini-artwork-strip{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:10px 0 8px;
}

.ps-mini-artwork-strip img,
.ps-mini-artwork-strip span{
    width:52px;
    height:52px;
    border-radius:12px;
    border:1px solid #dbe4f0;
    background:#f6f8fb;
    object-fit:cover;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#66758f;
    font-size:11px;
    font-weight:900;
}

.ps-tax-note{
    margin:18px 0 0;
    color:#66758f;
    font-size:13px;
    line-height:1.45;
}

.ps-checkout-submit{
    margin-top:6px;
}

@media (max-width: 991.98px){
    .ps-checkout-page{
        padding:32px 14px 56px;
    }

    .ps-checkout-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .ps-checkout-header h1{
        font-size:34px;
    }

    .ps-checkout-links{
        justify-content:flex-start;
    }

    .ps-checkout-grid{
        grid-template-columns:1fr;
    }

    .ps-checkout-summary{
        position:static;
    }

    .ps-form-grid,
    .ps-form-grid-2,
    .ps-fulfillment-grid{
        grid-template-columns:1fr;
    }
}


/* v1.7.4 auth pages proof rebuild */
.ps-auth-page{
    background:#ffffff;
    padding:64px 20px 80px;
    color:#172033;
}

.ps-auth-shell{
    width:100%;
    margin:0 auto;
}

.ps-auth-shell-sm{
    max-width:560px;
}

.ps-auth-shell-lg{
    max-width:860px;
}

.ps-auth-card{
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:28px;
    box-shadow:0 18px 50px rgba(15,23,42,.08);
    padding:34px;
}

.ps-auth-head{
    margin-bottom:26px;
}

.ps-auth-head h1{
    margin:0 0 8px;
    font-size:36px;
    line-height:1.08;
    font-weight:950;
    letter-spacing:-.035em;
    color:#172033;
}

.ps-auth-head p{
    margin:0;
    color:#66758f;
    font-size:16px;
    line-height:1.5;
}

.ps-auth-form{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.ps-auth-form .ps-form-grid{
    margin-bottom:4px;
}

.ps-auth-links{
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid #edf1f7;
}

.ps-auth-links-center{
    justify-content:center;
}

.ps-auth-links a{
    color:#0d6efd;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
}

.ps-auth-links a:hover{
    text-decoration:underline;
}

@media (max-width: 575.98px){
    .ps-auth-page{
        padding:36px 14px 60px;
    }

    .ps-auth-card{
        padding:24px;
        border-radius:22px;
    }

    .ps-auth-head h1{
        font-size:30px;
    }

    .ps-auth-links{
        flex-direction:column;
        align-items:flex-start;
    }
}


/* v1.7.4 order confirmation/status proof rebuild */
.ps-order-page{
    background:#ffffff;
    padding:56px 20px 72px;
    color:#172033;
}

.ps-order-shell{
    width:100%;
    max-width:1240px;
    margin:0 auto;
}

.ps-order-success{
    max-width:880px;
    margin:0 auto 34px;
    text-align:center;
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:30px;
    box-shadow:0 18px 50px rgba(15,23,42,.08);
    padding:42px 28px;
}

.ps-success-icon{
    width:70px;
    height:70px;
    margin:0 auto 16px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#16a34a;
    color:#fff;
    font-size:34px;
    font-weight:950;
}

.ps-order-success h1,
.ps-order-header h1{
    margin:0 0 10px;
    font-size:42px;
    line-height:1.05;
    font-weight:950;
    letter-spacing:-.04em;
    color:#172033;
}

.ps-order-success p,
.ps-order-header p{
    margin:0;
    color:#66758f;
    font-size:16px;
    line-height:1.5;
}

.ps-order-actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:22px;
}

.ps-order-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 380px;
    gap:28px;
    align-items:start;
}

.ps-order-summary{
    position:sticky;
    top:18px;
}

.ps-order-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:28px;
}

.ps-status-badge{
    display:inline-flex;
    align-items:center;
    margin-left:6px;
    padding:7px 11px;
    border-radius:999px;
    background:#eef5ff;
    border:1px solid #cfe1ff;
    color:#0d4fb3;
    font-size:13px;
    font-weight:900;
}

.ps-order-header-total{
    text-align:right;
    padding:14px 18px;
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:18px;
    box-shadow:0 10px 26px rgba(15,23,42,.06);
}

.ps-order-header-total span{
    display:block;
    color:#66758f;
    font-size:13px;
    font-weight:800;
}

.ps-order-header-total strong{
    display:block;
    color:#172033;
    font-size:26px;
    font-weight:950;
}

.ps-order-items-list{
    padding:18px 22px 24px;
}

.ps-order-item-card{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:flex-start;
    padding:18px;
    margin-bottom:12px;
    border:1px solid #edf1f7;
    border-radius:18px;
    background:#fff;
}

.ps-order-item-card h3{
    margin:0 0 6px;
    font-size:17px;
    font-weight:900;
    color:#172033;
}

.ps-order-item-card p{
    margin:0;
    color:#66758f;
    font-size:14px;
}

.ps-order-item-card strong{
    white-space:nowrap;
    color:#172033;
    font-size:17px;
    font-weight:950;
}

.ps-order-upload-section{
    padding:0 22px 26px;
}

.ps-order-upload-section h2{
    margin:0 0 14px;
    font-size:20px;
    font-weight:950;
    color:#172033;
}

.ps-order-upload-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(170px, 1fr));
    gap:12px;
}

.ps-order-upload-card{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px;
    border:1px solid #edf1f7;
    border-radius:18px;
    background:#f8fafc;
    min-width:0;
}

.ps-order-upload-preview{
    width:54px;
    height:54px;
    flex:0 0 auto;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #dbe4f0;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
}

.ps-order-upload-preview img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.ps-order-upload-preview span{
    color:#66758f;
    font-size:11px;
    font-weight:950;
    text-transform:uppercase;
}

.ps-order-upload-card strong{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#172033;
    font-size:13px;
    font-weight:900;
}

.ps-order-upload-card span{
    display:block;
    color:#66758f;
    font-size:12px;
    font-weight:800;
}

.ps-empty-inline{
    padding:18px;
    border:1px dashed #cbd5e1;
    border-radius:18px;
    background:#f8fafc;
    color:#66758f;
    font-weight:750;
}

.ps-alert-info{
    background:#eff6ff;
    border-color:#bfdbfe;
    color:#1e3a8a;
}

@media (max-width: 991.98px){
    .ps-order-page{
        padding:32px 14px 56px;
    }

    .ps-order-grid{
        grid-template-columns:1fr;
    }

    .ps-order-summary{
        position:static;
    }

    .ps-order-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .ps-order-header-total{
        width:100%;
        text-align:left;
    }

    .ps-order-success h1,
    .ps-order-header h1{
        font-size:34px;
    }
}

@media (max-width: 575.98px){
    .ps-order-success{
        padding:30px 20px;
        border-radius:24px;
    }

    .ps-order-item-card{
        flex-direction:column;
    }

    .ps-order-upload-grid{
        grid-template-columns:1fr;
    }
}


/* v1.7.4 product page proof rebuild */
.ps-product-page{
    background:#fff;
    padding:54px 20px 48px;
    color:#172033;
}

.ps-product-shell{
    width:100%;
    max-width:1240px;
    margin:0 auto;
}

.ps-product-grid{
    display:grid;
    grid-template-columns:minmax(360px, .8fr) minmax(0, 1.2fr);
    gap:30px;
    align-items:start;
}

.ps-product-media,
.ps-product-buy{
    min-width:0;
}

.ps-product-image-card,
.ps-product-buy-card,
.ps-product-info-card,
.ps-config-card,
.ps-upload-card,
.ps-price-card,
.ps-product-detail-grid article{
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:24px;
    box-shadow:0 18px 50px rgba(15,23,42,.08);
}

.ps-product-image-card{
    overflow:hidden;
}

.ps-product-image{
    width:100%;
    aspect-ratio:1 / 1;
    background:#f6f8fb;
    display:flex;
    align-items:center;
    justify-content:center;
}

.ps-product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.ps-product-thumbs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:14px 0 18px;
}

.ps-product-thumbs button{
    width:76px;
    height:76px;
    border:1px solid #dbe4f0;
    background:#fff;
    border-radius:16px;
    padding:4px;
    overflow:hidden;
}

.ps-product-thumbs img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
    display:block;
}

.ps-product-info-card{
    padding:24px;
}

.ps-product-info-card h3{
    margin:0 0 10px;
    font-size:20px;
    font-weight:950;
    color:#172033;
}

.ps-product-info-card p{
    margin:0;
    color:#66758f;
    line-height:1.55;
}

.ps-product-buy-card{
    overflow:hidden;
}

.ps-product-title-block{
    padding:30px 32px 22px;
    border-bottom:1px solid #edf1f7;
}

.ps-product-badges{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
}

.ps-warning-badge{
    display:inline-flex;
    padding:7px 11px;
    border-radius:999px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    font-size:13px;
    font-weight:900;
}

.ps-product-title-block h1{
    margin:0 0 12px;
    color:#172033;
    font-size:42px;
    line-height:1.05;
    font-weight:950;
    letter-spacing:-.04em;
}

.ps-product-title-block p{
    margin:0;
    color:#66758f;
    font-size:17px;
    line-height:1.5;
}

.ps-product-form{
    padding:24px 32px 32px;
}

.ps-config-card,
.ps-upload-card,
.ps-price-card{
    padding:24px;
    margin-bottom:18px;
}

.ps-config-card{
    background:#f8fbff;
}

.ps-config-head{
    margin-bottom:18px;
}

.ps-config-head h2,
.ps-upload-card h2,
.ps-price-card h2{
    margin:0 0 6px;
    color:#172033;
    font-size:22px;
    font-weight:950;
}

.ps-config-head p{
    margin:0;
    color:#66758f;
}

.ps-product-form .ps-field{
    margin-bottom:16px;
}

.ps-product-form .ps-field:last-child{
    margin-bottom:0;
}

.ps-option-block{
    margin:18px 0;
}

.ps-option-block > label{
    display:block;
    margin:0 0 9px;
    color:#172033;
    font-size:14px;
    font-weight:900;
}

.ps-option-block > label span{
    color:#dc2626;
}

.ps-help-text{
    margin:0 0 10px;
    color:#66758f;
    font-size:13px;
    line-height:1.4;
}

.ps-choice-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:12px;
}

.ps-choice-card{
    display:flex;
    gap:12px;
    align-items:center;
    min-height:58px;
    padding:14px;
    border:1px solid #dbe4f0;
    border-radius:16px;
    background:#fff;
    color:#172033;
    font-weight:800;
    cursor:pointer;
}

.ps-choice-card:hover{
    border-color:#0d6efd;
    box-shadow:0 10px 22px rgba(13,110,253,.08);
}

.ps-choice-card input{
    flex:0 0 auto;
}

.ps-quantity-picker .quantity-picker-button{
    min-height:54px!important;
    border-radius:14px!important;
    color:#172033!important;
    background:#fff!important;
    border:1px solid #d6dfeb!important;
}

.ps-upload-dropzone{
    position:relative;
    padding:30px 18px;
    border:2px dashed #b8c5d8;
    border-radius:20px;
    background:#f8fafc;
    text-align:center;
    cursor:pointer;
}

.ps-upload-dropzone strong{
    display:block;
    color:#172033;
    font-size:16px;
    font-weight:950;
}

.ps-upload-dropzone span{
    display:block;
    margin-top:6px;
    color:#66758f;
    font-size:14px;
}

.ps-upload-dropzone input{
    position:absolute;
    inset:0;
    opacity:0;
    cursor:pointer;
}

.ps-upload-progress{
    position:relative;
    height:28px;
    margin-top:14px;
    overflow:hidden;
    border-radius:999px;
    background:#edf2f7;
}

.ps-upload-progress span{
    display:block;
    height:100%;
    background:#0d6efd;
}

.ps-upload-progress b{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#172033;
    font-size:12px;
    font-weight:950;
}

.ps-upload-preview-list{
    margin-top:14px;
}

.ps-artwork-note-field{
    margin-top:16px;
}

.ps-price-lines{
    border:1px solid #dbe4f0;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    margin-bottom:16px;
}

.ps-price-lines > div{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:13px 16px;
    border-bottom:1px solid #edf1f7;
}

.ps-price-lines > div:last-child{
    border-bottom:0;
}

.ps-price-lines span{
    color:#66758f;
    font-weight:750;
}

.ps-price-lines strong{
    color:#172033;
    font-weight:950;
}

.ps-price-subtotal{
    background:#f8fbff;
    font-size:18px;
}

.ps-turnaround-box{
    margin-bottom:16px;
    padding:14px;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid #edf1f7;
}

.ps-turnaround-box h4{
    margin:0 0 8px;
    color:#172033;
    font-size:15px;
    font-weight:950;
}

.ps-turnaround-box p,
.ps-receive-note{
    margin:0 0 5px;
    color:#66758f;
    font-size:14px;
}

.ps-product-details{
    background:#fff;
    padding:0 20px 72px;
}

.ps-product-detail-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:18px;
}

.ps-product-detail-grid article{
    padding:24px;
}

.ps-product-detail-grid h3{
    margin:0 0 10px;
    color:#172033;
    font-size:20px;
    font-weight:950;
}

.ps-product-detail-grid p{
    margin:0;
    color:#66758f;
    line-height:1.55;
}

@media (max-width: 991.98px){
    .ps-product-page{
        padding:32px 14px 38px;
    }

    .ps-product-grid{
        grid-template-columns:1fr;
    }

    .ps-product-title-block,
    .ps-product-form{
        padding-left:22px;
        padding-right:22px;
    }

    .ps-product-title-block h1{
        font-size:34px;
    }

    .ps-choice-grid,
    .ps-product-detail-grid{
        grid-template-columns:1fr;
    }

    .ps-product-details{
        padding-left:14px;
        padding-right:14px;
    }
}


/* v1.7.5 product page balance refinement */
.ps-product-grid{
    grid-template-columns:minmax(360px, .92fr) minmax(0, 1.08fr) !important;
    gap:28px !important;
}

.ps-product-buy-card{
    border:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    border-radius:0 !important;
    overflow:visible !important;
}

.ps-product-title-block{
    padding:0 0 22px !important;
    border-bottom:0 !important;
}

.ps-product-form{
    padding:0 !important;
}

.ps-config-card,
.ps-upload-card,
.ps-price-card{
    border-radius:18px !important;
    box-shadow:0 10px 28px rgba(15,23,42,.06) !important;
    padding:20px !important;
    margin-bottom:16px !important;
}

.ps-config-card{
    background:#fff !important;
}

.ps-product-title-block h1{
    font-size:38px !important;
}

.ps-product-title-block p{
    font-size:16px !important;
}

.ps-config-head h2,
.ps-upload-card h2,
.ps-price-card h2{
    font-size:20px !important;
}

/* flatter quantity dropdown */
.ps-quantity-picker .quantity-picker-button,
.customer-ui-v1710 .bootstrap-quantity-picker .quantity-picker-button{
    min-height:44px !important;
    height:44px !important;
    padding:8px 12px !important;
    border-radius:10px !important;
    font-size:14px !important;
    font-weight:750 !important;
    box-shadow:none !important;
}

.ps-quantity-picker .quantity-picker-menu,
.customer-ui-v1710 .bootstrap-quantity-picker .quantity-picker-menu{
    border-radius:12px !important;
    padding:4px !important;
    box-shadow:0 12px 28px rgba(15,23,42,.10) !important;
}

.ps-quantity-picker [data-quantity-value],
.customer-ui-v1710 .bootstrap-quantity-picker [data-quantity-value]{
    padding:9px 10px !important;
    border-radius:9px !important;
    font-size:14px !important;
}

.ps-field input,
.ps-field select,
.ps-field textarea{
    min-height:46px !important;
    border-radius:11px !important;
    padding:10px 12px !important;
}

.ps-choice-card{
    min-height:50px !important;
    padding:12px !important;
    border-radius:13px !important;
}

.ps-price-lines > div{
    padding:11px 14px !important;
}

@media (max-width: 991.98px){
    .ps-product-grid{
        grid-template-columns:1fr !important;
    }

    .ps-product-title-block h1{
        font-size:32px !important;
    }
}


/* v1.8.0 production/shipping timeline on product page */
.ps-production-timeline{
    margin:0 0 20px;
    padding:18px;
    background:#f8fbff;
    border:1px solid #d7e7ff;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(13,110,253,.07);
}
.ps-production-timeline-head{
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:flex-start;
    margin-bottom:16px;
}
.ps-production-timeline-head span{
    display:block;
    color:#0d6efd;
    font-size:12px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.06em;
    margin-bottom:5px;
}
.ps-production-timeline-head strong{
    display:block;
    color:#172033;
    font-size:17px;
    line-height:1.3;
    font-weight:950;
}
.ps-production-timeline-head b{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid #cfe1ff;
    color:#0d4fb3;
    font-size:13px;
    font-weight:950;
    white-space:nowrap;
}
.ps-production-steps{
    position:relative;
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:10px;
    margin:6px 0 14px;
}
.ps-production-steps:before{
    content:"";
    position:absolute;
    top:13px;
    left:10%;
    right:10%;
    height:2px;
    background:#cfe1ff;
}
.ps-production-steps div{
    position:relative;
    z-index:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    text-align:center;
    color:#172033;
    font-size:13px;
    font-weight:900;
}
.ps-production-steps i{
    width:28px;
    height:28px;
    border-radius:50%;
    background:#0d6efd;
    border:5px solid #eaf2ff;
    box-shadow:0 4px 12px rgba(13,110,253,.18);
}
.ps-production-steps small{
    color:#66758f;
    font-size:12px;
    font-weight:800;
}
.ps-production-timeline p{
    margin:0;
    color:#66758f;
    font-size:13px;
    line-height:1.45;
}
@media(max-width:575.98px){
    .ps-production-timeline-head{flex-direction:column;}
    .ps-production-steps{grid-template-columns:1fr;gap:14px;}
    .ps-production-steps:before{display:none;}
    .ps-production-steps div{align-items:flex-start;text-align:left;flex-direction:row;flex-wrap:wrap;}
}

/* v1.8.1 editable production/delivery timeline card */
.ps-delivery-timeline-card{
    margin:0 32px 22px;
    color:var(--tl-text);
}
.ps-delivery-message{
    margin:0 0 10px;
    color:var(--tl-text);
    font-size:15px;
    line-height:1.55;
}
.ps-delivery-message strong,
.ps-delivery-message [data-production-countdown]{
    font-weight:950;
    color:var(--tl-text);
}
.ps-delivery-message span:not([data-production-countdown]){
    display:inline;
    color:var(--tl-muted);
}
.ps-delivery-steps{
    display:grid;
    grid-template-columns:minmax(92px,.8fr) minmax(40px,1fr) minmax(92px,.8fr) minmax(40px,1fr) minmax(92px,.8fr);
    align-items:center;
    gap:0;
    padding:14px 16px;
    border:1px solid var(--tl-border);
    border-radius:var(--tl-radius);
    background:var(--tl-bg);
}
.ps-delivery-steps.has-shadow{
    box-shadow:0 14px 34px rgba(15,23,42,.08);
}
.ps-delivery-step{
    min-width:0;
    text-align:center;
}
.ps-delivery-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    margin-bottom:4px;
    font-size:28px;
    line-height:1;
    font-weight:900;
}
.ps-delivery-step-1 .ps-delivery-icon{color:var(--tl-c1);}
.ps-delivery-step-2 .ps-delivery-icon{color:var(--tl-c2);}
.ps-delivery-step-3 .ps-delivery-icon{color:var(--tl-c3);}
.ps-delivery-step strong{
    display:block;
    color:var(--tl-text);
    font-size:12px;
    line-height:1.15;
    font-weight:950;
}
.ps-delivery-step span{
    display:block;
    margin-top:4px;
    color:var(--tl-muted);
    font-size:12px;
    line-height:1.2;
    font-weight:650;
}
.ps-delivery-connector{
    position:relative;
    height:2px;
    background:var(--tl-line);
    margin:0 8px;
}
.ps-delivery-connector:before,
.ps-delivery-connector:after{
    content:'';
    position:absolute;
    top:50%;
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--tl-line);
    transform:translateY(-50%);
}
.ps-delivery-connector:before{left:0;}
.ps-delivery-connector:after{right:0;}
@media (max-width: 767.98px){
    .ps-delivery-timeline-card{margin:0 22px 18px;}
    .ps-delivery-steps{grid-template-columns:1fr;gap:10px;padding:14px;}
    .ps-delivery-connector{width:2px;height:24px;margin:0 auto;}
    .ps-delivery-connector:before{left:50%;top:0;transform:translateX(-50%);}
    .ps-delivery-connector:after{left:50%;right:auto;top:auto;bottom:0;transform:translateX(-50%);}
}

/* v1.8.2 timeline icon upload + product card location refinement */
.ps-delivery-timeline-card-embedded{
    margin:18px 0 0!important;
    box-shadow:none!important;
}
.ps-delivery-icon img,
.timeline-theme-preview i img{
    width:28px;
    height:28px;
    object-fit:contain;
    display:block;
}
.timeline-theme-preview i img{
    margin:0 auto 3px;
}
.timeline-theme-form input[type="file"]{
    padding:8px;
    background:#fff;
}
.timeline-theme-form label small{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:12px;
    font-weight:700;
}
@media (max-width: 575.98px){
    .ps-delivery-timeline-card-embedded{
        margin-top:14px!important;
    }
    .ps-delivery-icon img{
        width:24px;
        height:24px;
    }
}

/* v1.9.0 product block system */
.ps-product-block-area{display:flex;flex-direction:column;gap:14px;margin-top:16px;}
.ps-product-block{background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(15,23,42,.06);}
.ps-product-block.is-missing{border-color:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.08);}
.ps-block-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;}
.ps-block-head h2{margin:0 0 6px;color:#172033;font-size:20px;font-weight:950;}
.ps-block-head p{margin:0;color:#66758f;font-size:14px;line-height:1.45;}
.ps-block-status{white-space:nowrap;border:1px solid #dbe4f0;background:#f8fafc;color:#475569;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;}
.ps-block-warning{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;font-weight:850;font-size:14px;}
.ps-design-assist-summary{margin-bottom:12px;padding:12px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff;color:#172033;}
.ps-design-assist-summary strong{display:block;margin-bottom:4px;font-weight:950;}
.ps-design-assist-summary span{display:block;color:#66758f;font-size:14px;}
.ps-design-modal[hidden]{display:none!important;}
.ps-design-modal{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:18px;}
.ps-design-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(4px);}
.ps-design-modal-card{position:relative;width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:26px;border:1px solid #dbe4f0;box-shadow:0 30px 90px rgba(0,0,0,.25);padding:26px;}
.ps-design-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;}
.ps-design-modal-head h3{margin:0;color:#172033;font-size:26px;font-weight:950;}
.ps-design-modal-head button{width:38px;height:38px;border:0;border-radius:50%;background:#f1f5f9;color:#172033;font-size:24px;line-height:1;}
.ps-design-reference-dropzone{position:relative;margin-top:16px;padding:22px;border:2px dashed #b8c5d8;border-radius:18px;background:#f8fafc;text-align:center;color:#172033;cursor:pointer;}
.ps-design-reference-dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer;}
.ps-design-reference-previews{margin-top:12px;}
.ps-design-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;}
.ps-upload-later-text,.ps-upload-later-email{margin:0 0 10px;color:#66758f;}
.ps-block-summary-list{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0;}
.ps-block-summary-pill{display:inline-flex;flex-direction:column;gap:2px;max-width:100%;padding:8px 11px;border-radius:14px;background:#f8fbff;border:1px solid #dbeafe;color:#172033;font-size:13px;}
.ps-block-summary-pill strong{font-weight:950;}.ps-block-summary-pill span{color:#66758f;}.ps-block-summary-pill.is-incomplete{background:#fff1f2;border-color:#fecdd3;color:#9f1239;}
@media(max-width:575.98px){.ps-block-head{flex-direction:column}.ps-design-modal-card{padding:20px;border-radius:22px}.ps-design-modal-actions{flex-direction:column}.ps-design-modal-actions .ps-btn{width:100%;}}

/* v3.3P.1 checkout account creation + password guidance */
.ps-checkout-account-card-v33p1 .ps-panel-body{
    padding:20px 30px 24px;
}
.ps-account-create-toggle-v33p1{
    margin:0;
    align-items:flex-start;
}
.ps-account-create-toggle-v33p1 span{
    display:flex;
    flex-direction:column;
    gap:3px;
}
.ps-account-create-toggle-v33p1 small{
    color:#66758f;
    font-weight:700;
    line-height:1.35;
}
.ps-account-password-fields-v33p1{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid #e8eef7;
}
.ps-password-rules-v33p1{
    margin-top:14px;
    border:1px solid #dbe8fb;
    background:#f8fbff;
    border-radius:16px;
    padding:14px 16px;
    color:#172033;
}
.ps-password-rules-v33p1 strong{
    display:block;
    font-size:.92rem;
    margin-bottom:8px;
}
.ps-password-rules-v33p1 ul{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:7px 14px;
    list-style:none;
    padding:0;
    margin:0;
}
.ps-password-rules-v33p1 li{
    position:relative;
    padding-left:20px;
    color:#66758f;
    font-size:.88rem;
    font-weight:750;
}
.ps-password-rules-v33p1 li:before{
    content:'•';
    position:absolute;
    left:0;
    color:#9aa8bd;
}
.ps-password-rules-v33p1 li.is-valid{
    color:#147a3d;
}
.ps-password-rules-v33p1 li.is-valid:before{
    content:'✓';
    color:#16a34a;
}
.ps-password-rules-v33p1 li.is-invalid{
    color:#9b1c1c;
}
.ps-password-rules-v33p1 li.is-invalid:before{
    content:'•';
    color:#dc2626;
}
@media(max-width:720px){
    .ps-password-rules-v33p1 ul{grid-template-columns:1fr;}
}
