/* ΜΟΝΟ offer page */
.offer-page .pic-home{
  padding: 0;
}

/* Κεντρικό κέλυφος σελίδας */
.offer-page .offer-page-shell{
  max-width: 1100px;
  margin: 28px auto 60px;
  padding: 0 16px;
}

/* Αν έχεις αριστερά social sidebar και “πατάει”, δώσε λίγο χώρο */
@media (min-width: 900px){
  .offer-page .offer-page-shell{
    padding-left: 110px;
  }
}

/* Header: logo όπως στις άλλες σελίδες (καθαρό, χωρίς μπάρα) */
.offer-page .offer-header{
  max-width: 1100px;
  margin: 22px auto 14px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (min-width: 900px){
  .offer-page .offer-header{
    padding-left: 126px;
  }
}

/* Τίτλος πάνω από τον πίνακα */
.offer-page .offer-title{
  margin: 0 0 12px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.45);
}

/* Πίνακας να μην “απλώνει” σε όλη τη σελίδα */
.offer-page .table-wrapper{
  overflow-x: auto;
}

.offer-page .offer-table{
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  overflow: hidden;
}

/* Προαιρετικά: λίγο πιο “σφιχτό” */
.offer-page .offer-table th,
.offer-page .offer-table td{
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.offer-page .offer-table thead th{
  background: #eef2f7;
  font-weight: 700;
}
.offer-empty-message { 
  display: none; 
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.45);
}

.offer-empty-message.is-visible { 
  display: block; 
}

/* =========================
   OFFER PAGE – TEXT COLORS
   ========================= */

.offer-page {
  color: #ffffff;
}

/* τίτλοι */
.offer-page h1,
.offer-page h2,
.offer-page h3,
.offer-page h4,
.offer-page p,
.offer-page label {
  color: #ffffff;
}

/* μικρή σκιά για αναγνωσιμότητα */
.offer-page h1,
.offer-page h2,
.offer-page p,
.offer-page label {
  text-shadow: 0 2px 4px rgba(0,0,0,0.45);
}
/* =========================
   OFFER PAGE – CONTACT FORM WIDTH
   ========================= */

.offer-page .offer-contact-grid,
.offer-page .offer-notes {
    max-width: 720px;        /* ~2/3 του πίνακα */
    margin-left: 0;          /* ευθυγράμμιση αριστερά με τον πίνακα */
}
.offer-page .offer-contact-grid {
    gap: 0.8rem;
}

.offer-page .offer-contact-grid input,
.offer-page .offer-notes textarea {
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
}
/* =========================
   OFFER PAGE – LOGO SIZE
   ========================= */

.offer-page .offer-logo {
    width: 90px;      /* από ~140px → πιο κομψό */
    height: auto;
}
.offer-page .offer-contact-grid,
.offer-page .offer-notes {
  max-width: 720px;
  width: 100%;
  margin-left: 0;
}
/* =========================
   OFFER TABLE – TEXT COLOR
   ========================= */

/* Όλο το κείμενο ΜΕΣΑ στον πίνακα */
.offer-page .offer-table,
.offer-page .offer-table th,
.offer-page .offer-table td,
.offer-page .offer-table input {
    color: #000000;
}

/* placeholder πιο ανοιχτό (προαιρετικό) */
.offer-page .offer-table input::placeholder {
    color: #6b7280;
}
/* =========================
   OFFER TABLE – PRODUCT IMAGES
   ========================= */

.offer-page .offer-cell-photo {
    width: 90px;
    text-align: center;
}

.offer-page .offer-item-thumb {
    width: 70px;
    height: 70px;
    object-fit: contain;      /* ΔΕΝ κόβει το προϊόν */
    display: block;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 6px;
    padding: 4px;
}
/* ===== Modal (PIC style) ===== */
.pic-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
}
.pic-modal.is-open{ display:flex; }

.pic-modal__box{
  width: min(560px, 92vw);
  background: rgba(18,18,18,.92);
  color: #f2f2f2;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 16px 50px rgba(0,0,0,.45);
}

/* IMPORTANT: ακυρώνει τα global .offer-page p/h3 που βάζουν shadow */
.offer-page .pic-modal__box h3,
.offer-page .pic-modal__box p{
  color: #fff;
  text-shadow: none;
}

.pic-modal__box h3{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: .2px;
}
.pic-modal__box p{
  margin: 0 0 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.85);
}

.pic-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease;
}
.pic-btn:hover{ background: rgba(255,255,255,.16); }
.pic-btn:active{ transform: scale(.98); }
.pic-btn:focus{ outline: 2px solid rgba(255,255,255,.35); outline-offset: 2px; }

/* Mobile βελτιώσεις */
@media (max-width: 820px){
  .table-wrapper{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Κρύβουμε φωτογραφία + σχόλιο + delete για να χωρέσει */
  .offer-th-photo, .offer-cell-photo,
  .offer-th-delete, .offer-cell-delete{
    display: none;
  }

  /* Πιο μικρά paddings */
  .offer-table th, .offer-table td{
    padding: 8px;
    font-size: 13px;
  }

  /* Στοιχεία επικοινωνίας: 1 στήλη */
  .offer-contact-grid{
    grid-template-columns: 1fr !important;
  }

  .offer-actions{
    display: grid;
    gap: 10px;
  }

  .offer-actions .btn-secondary,
  .offer-actions .btn-primary{
    width: 100%;
  }
}

