
/* =========================================================
   PAICE base styles
   ========================================================= */
*{box-sizing:border-box}
:root{
  --navy:#123a6d;
  --blue:#1787c9;
  --green:#70bf44;
  --ink:#203040;
  --muted:#6b7280;
  --line:#dbe4ee;
  --bg:#f5f8fb;
  --white:#fff;
}
html,body{margin:0;padding:0}
body{
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--ink);
}
a{color:var(--blue)}
.shell{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 18px;
}
.card{
  width:100%;
  max-width:480px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 16px 45px rgba(18,58,109,.10);
  overflow:hidden;
}
.brand{
  padding:28px 30px 24px;
  background:linear-gradient(135deg,var(--navy),#0e5f9f);
  color:#fff;
}
.brand-name{
  font-size:42px;
  font-weight:800;
  letter-spacing:4px;
  line-height:1;
}
.brand-sub{
  margin-top:8px;
  font-size:14px;
  letter-spacing:.4px;
}
.content{padding:30px}
h1{margin:0 0 8px;color:var(--navy);font-size:27px}
.lead{margin:0 0 24px;color:var(--muted);line-height:1.5}
label{
  display:block;
  margin:0 0 7px;
  font-weight:700;
  color:#334155;
}
input[type=email],input[type=password],input[type=text]{
  width:100%;
  padding:13px 14px;
  border:1px solid #cbd5e1;
  border-radius:9px;
  font-size:16px;
  margin-bottom:18px;
  background:#fff;
}
input:focus{
  outline:3px solid rgba(23,135,201,.14);
  border-color:var(--blue);
}
button,.button{
  display:inline-block;
  width:100%;
  border:0;
  border-radius:9px;
  padding:14px 18px;
  background:var(--green);
  color:#123a2a;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  text-align:center;
}
button:hover,.button:hover{filter:brightness(.97)}
.message{
  padding:12px 14px;
  border-radius:9px;
  margin-bottom:18px;
  line-height:1.45;
}
.error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}
.success{background:#ecfdf3;border:1px solid #bbf7d0;color:#166534}
.small{
  margin-top:18px;
  font-size:14px;
  line-height:1.5;
  color:var(--muted);
}
.topbar{
  background:var(--navy);
  color:#fff;
  padding:18px 24px;
}
.topbar-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.topbar strong{font-size:23px;letter-spacing:2px}
.topbar a{color:#fff;text-decoration:none}
.page{
  max-width:1100px;
  margin:0 auto;
  padding:32px 20px;
}
.hero{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px;
  box-shadow:0 10px 30px rgba(18,58,109,.06);
}
.hero h1{font-size:30px}
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:22px;
}
.tile{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px;
  min-height:150px;
}
.tile h2{margin:0 0 8px;color:var(--navy);font-size:20px}
.tile p{margin:0;color:var(--muted);line-height:1.5}
.pill{
  display:inline-block;
  margin-top:16px;
  padding:7px 10px;
  border-radius:999px;
  background:#edf7ff;
  color:#0e5f9f;
  font-size:13px;
  font-weight:700;
}
@media(max-width:760px){
  .grid{grid-template-columns:1fr}
  .brand-name{font-size:34px}
}


/* =========================================================
   Catalogue additions
   ========================================================= */
/* ---- Catalogue v1 additions ---- */
.brand-link{color:#fff;text-decoration:none}
.topnav{display:flex;align-items:center;gap:20px}
.topnav a{color:#fff;text-decoration:none;opacity:.88}
.topnav a:hover,.topnav a.active{opacity:1;text-decoration:underline;text-underline-offset:6px}
.eyebrow{margin:0 0 8px;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:1.4px}
.compact{margin-bottom:0}
.catalogue-head{margin-bottom:20px}
.catalogue-tools{
  display:flex;
  gap:14px;
  align-items:end;
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  margin-bottom:15px;
}
.tool-field{min-width:210px}
.search-field{flex:1}
.catalogue-tools label{font-size:14px}
.catalogue-tools input,.catalogue-tools select{
  width:100%;
  margin:0;
  padding:12px 13px;
  border:1px solid #cbd5e1;
  border-radius:9px;
  background:#fff;
  font-size:15px;
}
.tool-actions{display:flex;align-items:center;gap:12px}
.secondary-button{width:auto;background:var(--navy);color:#fff;padding:12px 19px}
.clear-link{font-size:14px}
.catalogue-summary{margin:12px 2px 18px;color:var(--muted);font-size:14px}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.product-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.product-image{
  height:155px;
  background:#f1f5f9;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.product-image img{width:100%;height:100%;object-fit:contain}
.image-placeholder{font-size:28px;font-weight:800;letter-spacing:4px;color:#b4c2d3}
.product-body{padding:19px;display:flex;flex-direction:column;flex:1}
.product-category{font-size:12px;font-weight:800;color:var(--blue);text-transform:uppercase;letter-spacing:.6px;margin-bottom:7px}
.product-card h2{font-size:20px;margin:0 0 8px;color:var(--navy)}
.product-code{font-size:13px;color:#536171;margin-bottom:13px}
.product-description{font-size:14px;line-height:1.5;color:#586575;margin:0 0 14px}
.unit-of-sale{font-size:13px;color:#536171;margin-top:auto;padding-top:6px}
.product-footer{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #e8edf3;
}
.price-label{font-size:12px;color:var(--muted);font-weight:700}
.price{font-size:26px;color:var(--navy);font-weight:800;line-height:1.1}
.vat-note{font-size:11px;color:var(--muted);margin-top:3px}
.coming-basket{padding:8px 10px;border-radius:8px;background:#eef3f7;color:#64748b;font-size:12px;font-weight:700}
.empty-state{
  background:#fff;
  border:1px dashed #cbd5e1;
  border-radius:14px;
  padding:35px;
  text-align:center;
}
.empty-state h2{margin-top:0;color:var(--navy)}
.tile-link{text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease}
.tile-link:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(18,58,109,.08)}
.tile-action{display:inline-block;margin-top:18px;color:var(--blue);font-weight:800}
@media(max-width:900px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
  .topbar-inner{align-items:flex-start;flex-direction:column}
  .topnav{width:100%;justify-content:space-between;gap:12px}
  .catalogue-tools{flex-direction:column;align-items:stretch}
  .tool-field{min-width:0}
  .tool-actions{justify-content:space-between}
  .product-grid{grid-template-columns:1fr}
}


/* =========================================================
   Basket additions
   ========================================================= */
/* =========================================================
   PAICE Basket v1 additions
   Append to the bottom of /assets/style.css
   ========================================================= */

.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.add-form{
  display:flex;
  align-items:center;
  gap:7px;
}

.qty-input{
  width:70px!important;
  margin:0!important;
  padding:9px 8px!important;
  text-align:center;
}

.add-button{
  width:auto;
  padding:10px 14px;
}

.basket-table-wrap{
  overflow-x:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
}

.basket-table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}

.basket-table th,
.basket-table td{
  padding:16px;
  border-bottom:1px solid #e6edf4;
  text-align:left;
  vertical-align:middle;
}

.basket-table th{
  background:#f8fafc;
  color:#475569;
  font-size:13px;
}

.basket-table tbody tr:last-child td{
  border-bottom:0;
}

.basket-table .numeric{
  text-align:right;
  white-space:nowrap;
}

.quantity-col{
  width:110px;
}

.basket-code{
  margin-top:5px;
  color:#64748b;
  font-size:13px;
}

.basket-qty{
  width:80px;
  margin:0!important;
  padding:10px!important;
  text-align:center;
}

.remove-cell{
  width:90px;
  text-align:right!important;
}

.remove-button,
.clear-basket-button{
  width:auto;
  border:0;
  background:none;
  color:#b42318;
  padding:7px 5px;
  font-size:13px;
  text-decoration:underline;
  cursor:pointer;
}

.basket-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin:16px 0 26px;
}

.text-button{
  text-decoration:none;
  font-weight:700;
}

.basket-bottom{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:flex-start;
}

.basket-summary{
  width:100%;
  max-width:390px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
}

.basket-summary>div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:7px 0;
}

.basket-summary .grand-total{
  margin-top:8px;
  padding-top:14px;
  border-top:2px solid #dbe4ee;
  color:var(--navy);
  font-size:20px;
}

.checkout-disabled{
  margin-top:18px;
  width:100%;
  background:#d9e0e7;
  color:#667085;
  cursor:not-allowed;
}

.basket-start-button{
  width:auto;
  margin-top:10px;
}

.hidden-form{
  display:none;
}

@media(max-width:700px){
  .basket-bottom{
    flex-direction:column-reverse;
  }

  .basket-summary{
    max-width:none;
  }

  .basket-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .basket-actions .secondary-button{
    width:100%;
  }
}


/* =========================================================
   Checkout additions
   ========================================================= */
/* =========================================================
   PAICE Checkout v1 additions
   Append to the bottom of /assets/style.css
   ========================================================= */

.checkout-button{
  margin-top:18px;
  width:100%;
}

.checkout-grid,
.confirmation-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  gap:22px;
  align-items:start;
}

.checkout-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px;
}

.checkout-panel h2{
  margin:0 0 20px;
  color:var(--navy);
}

.checkout-panel h3{
  margin:24px 0 8px;
  color:var(--navy);
  font-size:17px;
}

.checkout-panel select,
.checkout-panel textarea{
  width:100%;
  padding:12px 13px;
  border:1px solid #cbd5e1;
  border-radius:9px;
  background:#fff;
  font:inherit;
  margin-bottom:18px;
}

.checkout-panel textarea{
  resize:vertical;
}

.order-review{
  position:sticky;
  top:20px;
}

.review-line{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:13px 0;
  border-bottom:1px solid #e6edf4;
}

.review-line>strong{
  white-space:nowrap;
}

.review-totals{
  margin-top:16px;
}

.review-totals>div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:7px 0;
}

.review-totals .grand-total{
  margin-top:8px;
  padding-top:14px;
  border-top:2px solid #dbe4ee;
  color:var(--navy);
  font-size:20px;
}

.place-order-button{
  margin-top:20px;
  font-size:17px;
}

.checkout-note{
  margin:14px 0 0;
  color:#667085;
  font-size:13px;
  line-height:1.5;
}

.confirmation-hero{
  display:flex;
  align-items:center;
  gap:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:26px;
  margin-bottom:22px;
}

.confirmation-tick{
  flex:0 0 58px;
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eaf8ef;
  color:#16703a;
  font-size:32px;
  font-weight:900;
}

.order-details{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:8px 14px;
  margin:0;
}

.order-details dt{
  color:#667085;
  font-weight:700;
}

.order-details dd{
  margin:0;
}

.address-block{
  line-height:1.55;
}

.new-order-button{
  margin-top:20px;
}

@media(max-width:820px){
  .checkout-grid,
  .confirmation-grid{
    grid-template-columns:1fr;
  }

  .order-review{
    position:static;
  }
}


/* =========================================================
   Order history additions
   ========================================================= */
/* =========================================================
   PAICE Order History v1 additions
   Append to bottom of /assets/style.css
   ========================================================= */

.orders-list{
  display:grid;
  gap:14px;
}

.order-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
}

.order-card-main{
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:flex-start;
}

.order-number{
  color:var(--navy);
  font-weight:800;
  font-size:20px;
  margin-bottom:5px;
}

.order-meta,
.order-po{
  color:#64748b;
  font-size:13px;
  line-height:1.5;
}

.order-po{
  margin-top:5px;
}

.order-card-right{
  text-align:right;
  white-space:nowrap;
}

.order-total{
  color:var(--navy);
  font-size:22px;
  font-weight:800;
  margin-top:8px;
}

.status-badge{
  display:inline-block;
  padding:7px 10px;
  border-radius:999px;
  background:#eef3f7;
  color:#475569;
  font-size:12px;
  font-weight:800;
}

.status-new{
  background:#edf7ff;
  color:#075985;
}

.status-confirmed{
  background:#eefbf2;
  color:#166534;
}

.status-processing{
  background:#fff8e7;
  color:#92400e;
}

.status-completed{
  background:#eaf8ef;
  color:#166534;
}

.status-cancelled{
  background:#fff1f2;
  color:#9f1239;
}

.order-card-actions{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid #e8edf3;
}

.secondary-link-button{
  display:inline-block;
  padding:9px 13px;
  border-radius:8px;
  background:var(--navy);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}

.back-row{
  margin-bottom:16px;
}

.back-row a{
  text-decoration:none;
  font-weight:700;
}

.order-detail-header{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  margin-bottom:22px;
}

.detail-status-block{
  text-align:right;
}

.detail-items{
  display:grid;
}

.detail-item{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid #e6edf4;
}

.detail-item:last-child{
  border-bottom:0;
}

.reorder-form{
  margin-top:22px;
}

.status-history{
  display:grid;
  gap:10px;
}

.status-history-row{
  display:grid;
  gap:3px;
  padding:10px 12px;
  border-radius:9px;
  background:#f8fafc;
}

.status-history-row span{
  color:#64748b;
  font-size:12px;
}

.status-history-row small{
  color:#667085;
  line-height:1.4;
}

@media(max-width:700px){
  .order-card-main,
  .order-detail-header{
    flex-direction:column;
  }

  .order-card-right,
  .detail-status-block{
    text-align:left;
  }
}


/* =========================================================
   Admin orders additions
   ========================================================= */
/* =========================================================
   PAICE Admin Orders v1 additions
   Append to bottom of /assets/style.css
   ========================================================= */

.admin-welcome{
  margin-bottom:20px;
}

.admin-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-bottom:20px;
}

.stat-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  text-decoration:none;
  color:inherit;
}

.stat-card span{
  display:block;
  color:#64748b;
  font-size:13px;
  font-weight:700;
}

.stat-card strong{
  display:block;
  margin-top:5px;
  color:var(--navy);
  font-size:28px;
}

.admin-filter-row{
  margin:0 0 16px;
  color:#64748b;
  font-size:14px;
}

.admin-company{
  margin:4px 0;
  color:var(--navy);
  font-weight:700;
}

.admin-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:22px;
  align-items:start;
}

.checkout-panel select,
.checkout-panel textarea{
  width:100%;
  padding:12px 13px;
  border:1px solid #cbd5e1;
  border-radius:9px;
  background:#fff;
  font:inherit;
  margin-bottom:18px;
}

@media(max-width:900px){
  .admin-stats{
    grid-template-columns:repeat(2,1fr);
  }

  .admin-detail-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .admin-stats{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   Order status additions
   ========================================================= */
/* PAICE status workflow update */
.status-dispatched{
  background:#f1efff;
  color:#5b21b6;
}

.admin-stats-five{
  grid-template-columns:repeat(5,1fr);
}

@media(max-width:1000px){
  .admin-stats-five{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:700px){
  .admin-stats-five{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:480px){
  .admin-stats-five{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   Customer management additions
   ========================================================= */
/* PAICE Customer Management v1 */

.admin-page-head,
.customer-head,
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}

.admin-page-head,
.customer-head{
  margin-bottom:20px;
}

.small-button{
  width:auto;
  padding:11px 16px;
}

.admin-table-wrap{
  overflow-x:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  min-width:850px;
}

.admin-table th,
.admin-table td{
  padding:14px;
  border-bottom:1px solid #e6edf4;
  text-align:left;
  vertical-align:middle;
}

.admin-table th{
  background:#f8fafc;
  font-size:13px;
  color:#475569;
}

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

.checkbox-row{
  display:flex;
  align-items:center;
  gap:9px;
  margin:14px 0 18px;
  font-weight:700;
}

.checkbox-row input{
  width:auto;
}

.customer-admin-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.section-head{
  align-items:center;
  margin-bottom:10px;
}

.section-head h2{
  margin:0;
}

.admin-list-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid #e6edf4;
}

.admin-list-row:last-child{
  border-bottom:0;
}

.admin-list-row>div:last-child{
  display:flex;
  align-items:center;
  gap:8px;
}

@media(max-width:800px){
  .form-grid,
  .customer-admin-grid{
    grid-template-columns:1fr;
  }

  .admin-page-head,
  .customer-head,
  .admin-list-row{
    flex-direction:column;
    align-items:stretch;
  }

  .admin-list-row>div:last-child{
    justify-content:flex-start;
  }
}


/* =========================================================
   Product and pricing additions
   ========================================================= */
/* PAICE Product & Pricing Management v1 */

.pricing-note{
  padding:13px 15px;
  margin:0 0 18px;
  border-left:4px solid var(--blue);
  background:#f6fbff;
  color:#475569;
  font-size:14px;
  line-height:1.5;
}


/* =========================================================
   Email notification additions
   ========================================================= */
/* PAICE Email Notifications v1 */
.email-action-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

/* PAICE protected delete controls */
.danger-button{
  display:inline-block;
  width:auto;
  padding:11px 16px;
  border:0;
  border-radius:8px;
  background:#b42318;
  color:#fff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

.danger-button:hover{
  opacity:.9;
}

.small-danger-button{
  padding:8px 11px;
  font-size:14px;
}

/* =========================================================
   PAICE Catalogue + Product Photos v1
   ========================================================= */

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(265px,1fr));
  gap:20px;
}

.product-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #dfe7ef;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 3px 12px rgba(15,23,42,.05);
}

.product-image{
  width:100%;
  aspect-ratio:4 / 3;
  background:#f5f8fb;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
  box-sizing:border-box;
  background:#fff;
}

.image-placeholder,
.product-photo-placeholder{
  width:100%;
  height:100%;
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  letter-spacing:.08em;
  color:#8aa0b5;
  background:linear-gradient(135deg,#f7fafc,#edf3f8);
}

.product-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:18px;
}

.product-body h2{
  margin:6px 0 9px;
  font-size:20px;
  line-height:1.25;
}

.product-description{
  color:#475569;
  line-height:1.5;
  font-size:14px;
}

.product-footer{
  margin-top:auto;
  padding-top:16px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-end;
}

.admin-product-thumb{
  width:68px;
  height:68px;
  border:1px solid #dfe7ef;
  border-radius:10px;
  overflow:hidden;
  background:#f7fafc;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8aa0b5;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
}

.admin-product-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
  padding:4px;
  box-sizing:border-box;
}

.admin-product-photo-editor{
  display:grid;
  grid-template-columns:minmax(220px,320px) minmax(0,1fr);
  gap:24px;
  align-items:start;
  margin-bottom:22px;
}

.admin-product-photo-preview{
  aspect-ratio:4 / 3;
  border:1px solid #dfe7ef;
  border-radius:14px;
  overflow:hidden;
  background:#f7fafc;
}

.admin-product-photo-preview img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
  padding:12px;
  box-sizing:border-box;
}

.admin-product-photo-controls input[type="file"]{
  width:100%;
  box-sizing:border-box;
  padding:12px;
  border:1px solid #cbd5e1;
  border-radius:9px;
  background:#fff;
}

@media(max-width:760px){
  .admin-product-photo-editor{
    grid-template-columns:1fr;
  }

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

/* =========================================================
   PAICE BRANDING v1
   Exact PAICE logo supplied September 2026
   ========================================================= */

:root{
  --paice-navy:#123f73;
  --paice-deep-navy:#0d396c;
}

/* Login / password reset branding */
.brand{
  text-align:center;
}

.brand-name{
  display:block;
  width:min(310px, 88%);
  height:94px;
  margin:0 auto 6px;
  font-size:0;
  line-height:0;
  background-image:url('/assets/paice-logo.png');
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

.brand-sub{
  margin-top:4px;
}

/* Customer + admin top navigation branding */
.brand-link{
  display:flex;
  align-items:center;
  min-width:190px;
  text-decoration:none;
}

.brand-link strong{
  position:relative;
  display:block;
  width:180px;
  height:56px;
  font-size:0;
  line-height:0;
  background-image:url('/assets/paice-logo.png');
  background-repeat:no-repeat;
  background-position:left center;
  background-size:contain;
}

/* Add ADMIN label beside the logo only inside the admin area. */
.brand-link[href^="/admin/"] strong{
  width:225px;
}

.brand-link[href^="/admin/"] strong::after{
  content:"ADMIN";
  position:absolute;
  left:185px;
  top:50%;
  transform:translateY(-50%);
  font-size:15px;
  line-height:1;
  letter-spacing:.12em;
  font-weight:800;
  color:#fff;
}

/* Use the PAICE logo for products that have no photograph yet. */
.image-placeholder,
.product-photo-placeholder{
  position:relative;
  color:transparent !important;
  font-size:0 !important;
  background:
    #f7fafc
    url('/assets/paice-logo.png')
    center / min(72%, 245px) auto
    no-repeat !important;
}

/* Small admin-list placeholder */
.admin-product-thumb span{
  display:block;
  width:90%;
  height:80%;
  font-size:0;
  background:
    url('/assets/paice-logo.png')
    center / contain
    no-repeat;
}

/* Keep header logo tidy on smaller screens. */
@media(max-width:760px){
  .brand-link{
    min-width:130px;
  }

  .brand-link strong{
    width:130px;
    height:44px;
  }

  .brand-link[href^="/admin/"] strong{
    width:165px;
  }

  .brand-link[href^="/admin/"] strong::after{
    left:134px;
    font-size:11px;
  }

  .brand-name{
    height:78px;
  }
}

@media(max-width:520px){
  .brand-link[href^="/admin/"] strong::after{
    display:none;
  }

  .brand-link[href^="/admin/"] strong{
    width:130px;
  }
}

/* =========================================================
   PAICE CLEAN HEADER v1
   White header + dark grey menu + blue divider line
   Responsive for iPhone
   ========================================================= */

:root{
  --paice-blue:#123f73;
  --paice-blue-dark:#0d396c;
  --paice-menu-text:#3f454d;
  --paice-border:#d8e0e7;
}

/* Main top header */
.topbar{
  background:#ffffff !important;
  color:var(--paice-menu-text);
  border-bottom:4px solid var(--paice-blue);
  box-shadow:none;
}

.topbar-inner{
  min-height:78px;
  padding-top:10px;
  padding-bottom:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

/* PAICE logo */
.brand-link{
  display:flex;
  align-items:center;
  min-width:190px;
  text-decoration:none;
}

.brand-link strong{
  display:block;
  width:180px;
  height:58px;
  font-size:0;
  line-height:0;
  background-image:url('/assets/paice-logo.png');
  background-repeat:no-repeat;
  background-position:left center;
  background-size:contain;
}

/* Admin label */
.brand-link[href^="/admin/"] strong{
  position:relative;
  width:235px;
}

.brand-link[href^="/admin/"] strong::after{
  content:"ADMIN";
  position:absolute;
  left:187px;
  top:50%;
  transform:translateY(-50%);
  color:var(--paice-menu-text);
  font-size:14px;
  font-weight:800;
  letter-spacing:.12em;
}

/* Navigation */
.topnav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:28px;
  flex-wrap:wrap;
}

.topnav a{
  position:relative;
  color:var(--paice-menu-text) !important;
  text-decoration:none;
  font-weight:600;
  padding:8px 0;
  transition:color .18s ease;
}

.topnav a:hover,
.topnav a.active{
  color:var(--paice-blue) !important;
}

.topnav a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-10px;
  height:3px;
  border-radius:999px;
  background:var(--paice-blue);
}

/* Remove any previous decorative skyline/header layers */
.topbar::before,
.topbar::after{
  content:none !important;
  display:none !important;
}

/* Standard page spacing */
.page{
  margin-top:0 !important;
}

/* Login/reset branding stays clean on white */
.brand-name{
  display:block;
  width:min(320px, 90%);
  height:92px;
  margin:0 auto 10px;
  font-size:0;
  line-height:0;
  background:url('/assets/paice-logo.png') center / contain no-repeat;
}

/* Keep product placeholders white and branded */
.image-placeholder,
.product-photo-placeholder{
  background:
    #ffffff
    url('/assets/paice-logo.png')
    center / min(72%, 245px) auto
    no-repeat !important;
  color:transparent !important;
  font-size:0 !important;
}

.admin-product-thumb span{
  display:block;
  width:90%;
  height:80%;
  font-size:0;
  background:url('/assets/paice-logo.png') center / contain no-repeat;
}

/* iPad / smaller desktop */
@media(max-width:820px){
  .topbar-inner{
    justify-content:center;
    padding-top:12px;
    padding-bottom:12px;
  }

  .brand-link{
    width:100%;
    min-width:auto;
    justify-content:center;
  }

  .topnav{
    width:100%;
    justify-content:center;
    gap:18px;
  }
}

/* iPhone */
@media(max-width:560px){
  .topbar{
    border-bottom-width:3px;
  }

  .brand-link strong{
    width:150px;
    height:48px;
  }

  .brand-link[href^="/admin/"] strong{
    width:188px;
  }

  .brand-link[href^="/admin/"] strong::after{
    left:155px;
    font-size:11px;
  }

  .topnav{
    gap:12px 16px;
  }

  .topnav a{
    font-size:15px;
    padding:6px 0;
  }

  .topnav a.active::after{
    bottom:-7px;
    height:2px;
  }

  .brand-name{
    height:78px;
  }
}

/* Very small phones */
@media(max-width:390px){
  .brand-link[href^="/admin/"] strong::after{
    display:none;
  }

  .brand-link[href^="/admin/"] strong{
    width:150px;
  }

  .topnav{
    gap:10px 12px;
  }

  .topnav a{
    font-size:14px;
  }
}

/* =========================================================
   PAICE Contact page v1
   ========================================================= */

.contact-hero{
  margin-bottom:24px;
  max-width:760px;
}

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

.contact-card{
  background:#fff;
  border:1px solid #dfe7ef;
  border-radius:16px;
  padding:26px;
  box-shadow:0 4px 16px rgba(15,23,42,.05);
}

.contact-card h2{
  margin:10px 0 10px;
}

.contact-card p{
  color:#475569;
  line-height:1.6;
}

.contact-icon{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#eef5fb;
  color:var(--paice-blue,#123f73);
  font-size:22px;
  font-weight:800;
}

.contact-detail{
  margin:18px 0;
  font-size:18px;
  font-weight:700;
}

.contact-detail a{
  color:var(--paice-blue,#123f73);
  text-decoration:none;
}

.contact-detail a:hover{
  text-decoration:underline;
}

.contact-button{
  display:inline-block;
  width:auto;
  text-decoration:none;
}

.contact-small{
  font-size:14px;
}

@media(max-width:700px){
  .contact-grid{
    grid-template-columns:1fr;
  }

  .contact-card{
    padding:22px;
  }
}

/* =========================================================
   PAICE Login tidy v1
   White logo panel + thin divider line
   ========================================================= */

.shell{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px 18px;
}

.card{
  width:100%;
  max-width:480px;
  background:#ffffff;
  border:1px solid #d9e2ea;
  border-radius:20px;
  box-shadow:0 18px 46px rgba(18,58,109,.08);
  overflow:hidden;
}

/* White top panel with blue edge */
.brand{
  padding:24px 26px 18px;
  background:#ffffff;
  color:#123f73;
  text-align:center;
  border-bottom:4px solid #195f9e;
}

.brand-name{
  display:block;
  width:min(300px, 88%);
  height:86px;
  margin:0 auto;
  font-size:0;
  line-height:0;
  background:url('/assets/paice-logo.png') center / contain no-repeat;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.brand-sub{
  margin-top:14px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.2px;
  color:#123f73;
}

.content{
  padding:28px 30px 34px;
}

.content h1{
  margin:0 0 10px;
  color:#123f73;
  font-size:27px;
  line-height:1.15;
}

.lead{
  margin:0 0 24px;
  color:#697586;
  line-height:1.5;
  font-size:15px;
}

label{
  display:block;
  margin:0 0 7px;
  font-weight:700;
  color:#334155;
  font-size:15px;
}

input[type=email],
input[type=password],
input[type=text]{
  width:100%;
  padding:14px 15px;
  border:1px solid #cdd7e1;
  border-radius:10px;
  font-size:16px;
  margin-bottom:18px;
  background:#ffffff;
  box-sizing:border-box;
}

input:focus{
  outline:3px solid rgba(23,135,201,.12);
  border-color:#1787c9;
}

button,
.button{
  display:inline-block;
  width:100%;
  border:0;
  border-radius:12px;
  padding:15px 18px;
  background:#72c33f;
  color:#123a2a;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  text-align:center;
}

button:hover,
.button:hover{
  filter:brightness(.98);
}

.content .small{
  margin-top:26px;
  color:#697586;
  font-size:14px;
  line-height:1.6;
}

.content p[style*="text-align:center"]{
  margin-top:16px !important;
}

.content a{
  color:#1787c9;
}

.content a:hover{
  text-decoration:underline;
}

/* iPhone / smaller screens */
@media(max-width:560px){
  .shell{
    padding:18px 10px;
    align-items:flex-start;
  }

  .card{
    border-radius:16px;
    max-width:none;
  }

  .brand{
    padding:20px 16px 16px;
  }

  .brand-name{
    width:min(250px, 92%);
    height:72px;
    border-radius:7px;
  }

  .brand-sub{
    margin-top:12px;
    font-size:13px;
  }

  .content{
    padding:24px 18px 26px;
  }

  .content h1{
    font-size:25px;
  }
}

/* =========================================================
   PAICE Customer Portal Polish v1
   Inspired by approved portal render
   ========================================================= */

body{
  background:#f5f8fb;
}

.site-header{
  background:#fff;
  border-bottom:3px solid #123f73;
}

.site-header-inner{
  max-width:1380px;
  margin:0 auto;
  padding:10px 24px;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.site-logo img{
  display:block;
  width:170px;
  max-height:58px;
  object-fit:contain;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
}

.site-nav a{
  position:relative;
  color:#40464e;
  text-decoration:none;
  font-weight:650;
  padding:10px 0;
}

.site-nav a:hover,
.site-nav a.active{
  color:#123f73;
}

.site-nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  border-radius:99px;
  background:#123f73;
}

.portal-hero{
  background:
    linear-gradient(100deg,#0d396c 0%,#123f73 56%,#195f9e 100%);
  color:#fff;
}

.portal-hero-inner{
  max-width:1380px;
  margin:0 auto;
  padding:34px 24px 30px;
}

.portal-kicker{
  margin:0 0 6px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  opacity:.85;
}

.portal-hero h1{
  margin:0 0 8px;
  font-size:38px;
  line-height:1.05;
  color:#fff;
}

.portal-hero p{
  max-width:700px;
  margin:0;
  font-size:17px;
  line-height:1.5;
  opacity:.95;
}

.hero-points{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  margin-top:20px;
  font-size:14px;
  font-weight:650;
}

.hero-points span::before{
  content:"✓";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  margin-right:7px;
  border-radius:50%;
  background:#fff;
  color:#123f73;
  font-weight:900;
}

.portal-dashboard{
  max-width:1380px;
  margin:0 auto;
  padding-top:26px;
}

.portal-welcome{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:20px;
}

.portal-welcome h2{
  margin:0 0 4px;
  color:#123f73;
}

.portal-primary-action{
  width:auto !important;
  min-width:180px;
  background:#123f73 !important;
  color:#fff !important;
}

.portal-tile-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-bottom:24px;
}

.portal-tile{
  display:block;
  background:#fff;
  border:1px solid #dfe7ef;
  border-radius:15px;
  padding:22px;
  color:inherit;
  text-decoration:none;
  box-shadow:0 4px 16px rgba(15,23,42,.04);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.portal-tile:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(15,23,42,.07);
  border-color:#b7cbe0;
}

.portal-tile-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#edf5fc;
  color:#123f73;
  font-weight:900;
  font-size:20px;
}

.portal-tile h3{
  margin:14px 0 7px;
  color:#123f73;
}

.portal-tile p{
  margin:0 0 16px;
  color:#64748b;
  line-height:1.5;
}

.portal-tile span{
  color:#1266b3;
  font-weight:700;
}

.how-it-works{
  background:#fff;
  border:1px solid #dfe7ef;
  border-radius:16px;
  padding:24px;
  box-shadow:0 4px 16px rgba(15,23,42,.04);
}

.section-title-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.section-title-row h2{
  margin:0;
  color:#123f73;
}

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

.step-card{
  position:relative;
  padding:18px;
  background:#f8fbfe;
  border:1px solid #e2eaf1;
  border-radius:13px;
}

.step-number{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  margin-bottom:10px;
  border-radius:50%;
  background:#123f73;
  color:#fff;
  font-weight:800;
  font-size:13px;
}

.step-card strong{
  display:block;
  margin-bottom:5px;
  color:#123f73;
}

.step-card p{
  margin:0;
  color:#64748b;
  line-height:1.45;
  font-size:14px;
}

.paice-footer{
  margin-top:44px;
  background:#0d396c;
  color:#fff;
}

.paice-footer-inner{
  max-width:1380px;
  margin:0 auto;
  padding:24px;
  display:grid;
  grid-template-columns:200px 1fr 260px;
  gap:28px;
  align-items:center;
}

.footer-brand img{
  display:block;
  width:160px;
  background:#fff;
  border-radius:8px;
  padding:4px;
}

.footer-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
  color:#dbe8f4;
}

.footer-copy strong{
  color:#fff;
}

.footer-contact{
  display:flex;
  flex-direction:column;
  gap:5px;
  text-align:right;
}

.footer-contact a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

/* Give existing portal panels a slightly cleaner visual hierarchy */
.checkout-panel,
.order-card,
.catalogue-tools,
.empty-state{
  box-shadow:0 4px 14px rgba(15,23,42,.035);
}

/* iPad */
@media(max-width:980px){
  .portal-tile-grid,
  .steps-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .paice-footer-inner{
    grid-template-columns:160px 1fr;
  }

  .footer-contact{
    grid-column:1/-1;
    text-align:left;
  }
}

/* iPhone */
@media(max-width:700px){
  .site-header-inner{
    padding:10px 16px;
    justify-content:center;
  }

  .site-logo{
    width:100%;
    display:flex;
    justify-content:center;
  }

  .site-logo img{
    width:145px;
  }

  .site-nav{
    width:100%;
    justify-content:center;
    gap:10px 16px;
  }

  .site-nav a{
    font-size:14px;
    padding:7px 0;
  }

  .portal-hero-inner{
    padding:26px 18px 24px;
  }

  .portal-hero h1{
    font-size:31px;
  }

  .portal-hero p{
    font-size:15px;
  }

  .hero-points{
    gap:10px 16px;
  }

  .portal-welcome{
    align-items:stretch;
    flex-direction:column;
  }

  .portal-primary-action{
    width:100% !important;
  }

  .portal-tile-grid,
  .steps-grid{
    grid-template-columns:1fr;
  }

  .paice-footer-inner{
    grid-template-columns:1fr;
    text-align:left;
  }

  .footer-contact{
    text-align:left;
  }

  .footer-brand img{
    width:145px;
  }
}

/* =========================================================
   PAICE product text fit fix v1
   Keep product text neatly inside the admin Raise Order box
   ========================================================= */

.table-wrap{
  overflow-x:auto;
}

.admin-table{
  width:100%;
  table-layout:fixed;
}

.admin-table th,
.admin-table td{
  vertical-align:top;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1){
  width:72px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2){
  width:150px;
}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4){
  width:120px;
}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5){
  width:110px;
}

.admin-table td:nth-child(3){
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
}

.admin-table td:nth-child(3) strong{
  display:block;
  margin-bottom:6px;
  line-height:1.25;
}

.admin-table .basket-code{
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  line-height:1.35;
}

.admin-table input[type="number"]{
  width:82px;
  max-width:100%;
}

@media (max-width: 900px){
  .admin-table{
    min-width:760px;
  }
}

@media (max-width: 640px){
  .admin-table th,
  .admin-table td{
    font-size:14px;
  }

  .admin-table td:nth-child(2){
    width:120px;
  }
}

/* =========================================================
   PAICE Admin table layout fix v1
   Restore normal Admin tables and scope fixed layout only
   to the Raise Order product table.
   ========================================================= */

/* Restore ordinary admin tables */
.admin-table{
  width:100%;
  table-layout:auto;
}

.admin-table th,
.admin-table td{
  width:auto;
  white-space:normal;
  word-break:normal;
  overflow-wrap:break-word;
}

/* Prevent long emails / names / roles overlapping */
.admin-table td{
  vertical-align:middle;
}

.admin-table td a,
.admin-table td span,
.admin-table td strong{
  max-width:100%;
}

.admin-table td:nth-child(2){
  overflow-wrap:anywhere;
}

/* Only the Raise Order product table needs fixed column sizing */
.admin-detail-grid .table-wrap{
  overflow-x:auto;
}

.admin-detail-grid .admin-table{
  width:100%;
  table-layout:fixed;
}

.admin-detail-grid .admin-table th,
.admin-detail-grid .admin-table td{
  vertical-align:top;
}

.admin-detail-grid .admin-table th:nth-child(1),
.admin-detail-grid .admin-table td:nth-child(1){
  width:72px;
}

.admin-detail-grid .admin-table th:nth-child(2),
.admin-detail-grid .admin-table td:nth-child(2){
  width:150px;
}

.admin-detail-grid .admin-table th:nth-child(4),
.admin-detail-grid .admin-table td:nth-child(4){
  width:120px;
}

.admin-detail-grid .admin-table th:nth-child(5),
.admin-detail-grid .admin-table td:nth-child(5){
  width:110px;
}

.admin-detail-grid .admin-table td:nth-child(3){
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
}

.admin-detail-grid .admin-table td:nth-child(3) strong{
  display:block;
  margin-bottom:6px;
  line-height:1.25;
}

.admin-detail-grid .admin-table .basket-code{
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  line-height:1.35;
}

.admin-detail-grid .admin-table input[type="number"]{
  width:82px;
  max-width:100%;
}

/* Admin Users table: give identity columns breathing room */
@media (min-width: 900px){
  .admin-table th:first-child,
  .admin-table td:first-child{
    min-width:120px;
  }

  .admin-table th:nth-child(2),
  .admin-table td:nth-child(2){
    min-width:210px;
  }

  .admin-table th:nth-child(3),
  .admin-table td:nth-child(3){
    min-width:150px;
  }
}

@media (max-width:900px){
  .admin-table{
    min-width:780px;
  }

  .table-wrap{
    overflow-x:auto;
  }
}


/* =========================================================
   PAICE Featured Products Carousel v1
   ========================================================= */
.featured-products-section{
  margin:26px 0 30px;
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 10px 28px rgba(18,58,109,.05);
}
.featured-products-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.featured-products-heading h2{margin:0;color:var(--navy)}
.featured-carousel{position:relative;min-height:310px}
.featured-slide{
  display:none;
  grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);
  gap:28px;
  align-items:center;
  padding:22px;
  background:#f8fbfd;
  border:1px solid #e3ebf2;
  border-radius:14px;
}
.featured-slide.is-active{display:grid;animation:paiceFeaturedFade .28s ease}
@keyframes paiceFeaturedFade{
  from{opacity:.35;transform:translateX(8px)}
  to{opacity:1;transform:translateX(0)}
}
.featured-image{
  height:255px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  border:1px solid #edf1f5;
}
.featured-image img{width:100%;height:100%;object-fit:contain}
.featured-image-placeholder{
  color:#b5c2cf;
  font-weight:900;
  letter-spacing:5px;
  font-size:28px;
}
.featured-badge{
  display:inline-block;
  padding:7px 10px;
  margin-bottom:10px;
  border-radius:999px;
  background:#e7f2fb;
  color:#175d96;
  font-size:12px;
  font-weight:800;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.featured-content h3{margin:0 0 7px;color:var(--navy);font-size:27px}
.featured-code{color:#64748b;font-size:13px;margin-bottom:14px}
.featured-copy{color:#536171;line-height:1.55;margin:0 0 20px}
.featured-footer{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  padding-top:17px;
  border-top:1px solid #e0e8ef;
}
.featured-price{color:var(--navy);font-size:29px;font-weight:900;line-height:1.05}
.featured-no-price{color:#445569;font-weight:800}
.featured-add-form{display:flex;align-items:center;gap:8px}
.featured-carousel-controls{display:flex;gap:7px}
.featured-arrow{
  width:38px;
  height:38px;
  min-width:38px;
  padding:0;
  border-radius:50%;
  border:1px solid #cdd9e5;
  background:#fff;
  color:var(--navy);
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.featured-arrow:hover{background:#eef6fc}
.featured-dots{display:flex;justify-content:center;gap:8px;margin-top:14px}
.featured-dot{
  width:9px;
  height:9px;
  min-width:9px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#c9d5e1;
  cursor:pointer;
}
.featured-dot.is-active{background:var(--blue)}
.promotion-editor{margin-bottom:28px}
.promotion-option-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:18px 0;
}
.check-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:14px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:10px;
  cursor:pointer;
}
.check-row input{width:auto!important;margin:3px 0 0!important}
.check-row span{display:block}
.check-row strong{display:block;color:var(--navy)}
.check-row small{display:block;margin-top:4px;color:#64748b;line-height:1.35}
.promotion-customer-select{margin:16px 0 22px}
.promotion-customer-select select{width:100%;min-height:180px}
@media(max-width:800px){
  .featured-slide{grid-template-columns:1fr}
  .featured-image{height:220px}
  .featured-footer{align-items:stretch;flex-direction:column}
  .featured-add-form{width:100%}
  .featured-add-form .add-button{flex:1}
  .promotion-option-grid{grid-template-columns:1fr}
}

.promotion-product-results{
  width:100%;
  margin-top:8px;
  min-height:210px;
}

.promotion-product-results option{
  padding:7px 8px;
}


.promotion-photo-box{
  display:grid;
  grid-template-columns:minmax(0,1fr) 140px;
  gap:18px;
  align-items:start;
  margin:18px 0;
  padding:16px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:10px;
}
.promotion-photo-preview{
  width:140px;
  height:110px;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:9px;
  overflow:hidden;
}
.promotion-photo-preview img{
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:650px){
  .promotion-photo-box{grid-template-columns:1fr}
}
