/* ==========================================================================
   GiftListPro — front office styles
   Palette: dark red / gold / cream, serif headings (elegant wedding look)
   ========================================================================== */

:root {
  --glp-red: #8b1e1e;
  --glp-red-dark: #6f1414;
  --glp-gold: #a08a3c;
  --glp-cream: #faf7f0;
  --glp-ink: #2f2b26;
  --glp-muted: #8d8678;
  --glp-line: #ece5d8;
  --glp-green: #2e9e5b;
  --glp-serif: Georgia, 'Times New Roman', serif;
  --glp-radius: 10px;
  --glp-shadow: 0 10px 35px rgba(47, 43, 38, 0.12);
}

.glp { color: var(--glp-ink); }
.glp-hidden { display: none !important; }
.glp-text-right { text-align: right; }
.glp-text-left { text-align: left !important; }
.glp-text-center { text-align: center; }

/* ---- Typography -------------------------------------------------------- */
.glp-title {
  font-family: var(--glp-serif);
  font-size: 2.2rem;
  text-align: center;
  color: var(--glp-ink);
  margin-bottom: 0.35rem;
}
.glp-subtitle {
  text-align: center;
  color: var(--glp-muted);
  font-family: var(--glp-serif);
  margin-bottom: 1.5rem;
}
.glp-footnote { text-align: center; color: var(--glp-muted); margin-top: 1rem; }

/* ---- Buttons ----------------------------------------------------------- */
.glp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.glp-btn .fa { font-size: 1.1rem; }
.glp-btn-primary { background: var(--glp-red); color: #fff; }
.glp-btn-primary:hover { background: var(--glp-red-dark); color: #fff; }
.glp-btn-outline { background: transparent; color: var(--glp-red); border-color: var(--glp-red); }
.glp-btn-outline:hover { background: var(--glp-red); color: #fff; }
.glp-btn-dark { background: var(--glp-ink); color: #fff; }
.glp-btn-disabled { background: #eee; color: #999; cursor: not-allowed; padding: 0.65rem 1.3rem; border-radius: 6px; display: inline-block; font-size: 0.8rem; }
.glp-btn-block { width: 100%; justify-content: center; }
.glp-btn-sm { padding: 0.45rem 0.9rem; font-size: 0.75rem; }
.glp-btn-locked { color: var(--glp-muted); border-color: var(--glp-line); }
.glp-lock { font-size: 0.95rem !important; }
.glp-link {
  background: none; border: 0; color: var(--glp-red); cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.8rem; padding: 0;
}
.glp-link .fa { font-size: 1rem; }
.glp-danger { color: #c0392b !important; }

/* ---- Inputs ------------------------------------------------------------ */
.glp-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--glp-line);
  border-radius: var(--glp-radius);
  background: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.glp-input:focus { outline: none; border-color: var(--glp-gold); }
.glp-label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; }

/* ---- Search ------------------------------------------------------------ */
.glp-search { max-width: 1000px; margin: 2rem auto; }
.glp-search-box {
  display: flex; align-items: center;
  max-width: 640px; margin: 0 auto 2rem;
  border: 1px solid var(--glp-line); border-radius: var(--glp-radius);
  background: #fff; overflow: hidden;
}
.glp-search-box input { flex: 1; border: 0; padding: 1rem 1.2rem; font-size: 1rem; font-family: var(--glp-serif); }
.glp-search-box input:focus { outline: none; }
.glp-search-box button { background: none; border: 0; padding: 0 1.2rem; color: var(--glp-gold); cursor: pointer; }
.glp-results-count { color: var(--glp-muted); font-family: var(--glp-serif); }

/* ---- Tables ------------------------------------------------------------ */
.glp-table { width: 100%; border-collapse: collapse; }
.glp-table thead th {
  text-align: left; color: var(--glp-red); font-family: var(--glp-serif);
  font-size: 0.95rem; padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--glp-line);
}
.glp-table tbody td { padding: 1.1rem 0.6rem; border-bottom: 1px solid var(--glp-line); vertical-align: middle; font-family: var(--glp-serif); }
.glp-items-table thead th, .glp-manage-table thead th, .glp-lists-table thead th {
  color: var(--glp-gold); font-family: inherit; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}

.glp-product-cell { display: flex; align-items: center; gap: 0.9rem; }
.glp-thumb {
  width: 64px; height: 64px; object-fit: contain; background: #fff;
  border: 1px solid var(--glp-line); border-radius: 8px; flex-shrink: 0;
}
.glp-product-name { font-weight: 600; }
.glp-product-flags { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.3rem; flex-wrap: wrap; }

.glp-flag { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 4px; font-weight: 700; display: inline-flex; align-items: center; gap: 0.25rem; }
.glp-flag-preorder { background: #fdf3d1; color: #8a6d1a; }
.glp-flag-oos { background: #fbdcdc; color: #a33; }
.glp-flag-done { background: transparent; color: var(--glp-green); }
.glp-flag-done .fa { font-size: 1rem; }

.glp-separator td { color: var(--glp-green); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-family: inherit; font-size: 0.8rem; }
.glp-separator .fa { font-size: 1.05rem; vertical-align: -3px; }
.glp-state-completed { opacity: 0.85; }

/* ---- Progress bars ----------------------------------------------------- */
.glp-progress { width: 160px; height: 7px; background: #efe8dd; border-radius: 4px; overflow: hidden; margin-bottom: 0.3rem; }
.glp-progress span { display: block; height: 100%; background: var(--glp-red); border-radius: 4px; }
.glp-progress-done span { background: var(--glp-green); }
.glp-progress-cell small { color: var(--glp-red); }
.glp-done-text { color: var(--glp-green) !important; }

/* ---- Quantity steppers ------------------------------------------------- */
.glp-qty-add { display: flex; align-items: center; gap: 0.5rem; justify-content: flex-end; }
.glp-qty input { width: 64px; text-align: center; padding: 0.55rem 0.3rem; border: 1px solid var(--glp-line); border-radius: 6px; }
.glp-qty-stepper { display: inline-flex; align-items: center; gap: 0.4rem; }
.glp-qty-stepper button {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--glp-line);
  background: #fff; cursor: pointer; font-size: 1rem; line-height: 1;
}
.glp-qty-stepper button:hover { border-color: var(--glp-red); color: var(--glp-red); }

/* ---- List view header -------------------------------------------------- */
.glp-view { max-width: 1200px; margin: 0 auto; }
.glp-list-header { text-align: center; margin: 2rem 0 2.5rem; }
.glp-cover { margin: 0 auto 1.4rem; text-align: center; }
.glp-cover img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.glp-date { color: var(--glp-red); font-family: var(--glp-serif); font-weight: 700; font-size: 1.1rem; }
.glp-welcome { color: var(--glp-muted); font-family: var(--glp-serif); font-style: italic; max-width: 560px; margin: 0.6rem auto 1.2rem; }

/* ---- Tabs + toolbar ---------------------------------------------------- */
.glp-toolbar { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--glp-line); flex-wrap: wrap; gap: 0.8rem; }
.glp-tabs { display: flex; gap: 1.8rem; }
.glp-tab {
  background: none; border: 0; padding: 0.7rem 0.2rem; cursor: pointer;
  font-family: var(--glp-serif); font-size: 1.05rem; color: var(--glp-muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.glp-tab.glp-active { color: var(--glp-red); font-weight: 700; border-bottom-color: var(--glp-red); }
.glp-sort-form { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.5rem; }
.glp-sort-form select { border: 1px solid var(--glp-line); border-radius: 6px; padding: 0.45rem 0.6rem; background: #fff; }

/* ---- Modals ------------------------------------------------------------ */
.glp-modal {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(30, 25, 20, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.glp-modal-dialog {
  background: #fff; border-radius: 14px; box-shadow: var(--glp-shadow);
  padding: 2rem; position: relative; width: 100%;
  max-height: 92vh; overflow-y: auto;
}
.glp-modal-sm { max-width: 420px; }
.glp-modal-md { max-width: 640px; }
.glp-modal-lg { max-width: 980px; }
.glp-modal-close {
  position: absolute; top: 0.9rem; right: 1.1rem; background: none; border: 0;
  font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--glp-ink);
}
.glp-modal h3 { font-family: var(--glp-serif); margin-bottom: 1.2rem; }

/* Share buttons */
.glp-share-buttons { display: grid; gap: 0.6rem; }
.glp-share {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem;
  border-radius: 8px; border: 1px solid var(--glp-line); background: #fff;
  cursor: pointer; text-decoration: none; color: var(--glp-ink); font-weight: 600;
}
.glp-share:hover { border-color: var(--glp-red); color: var(--glp-red); }

/* Preview modal */
.glp-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.glp-preview-gallery { display: flex; gap: 0.8rem; }
.glp-preview-thumbs { display: flex; flex-direction: column; gap: 0.6rem; }
.glp-preview-thumbs img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--glp-line); border-radius: 8px; cursor: pointer; }
.glp-preview-thumbs img.glp-active { border-color: var(--glp-red); }
.glp-preview-main { flex: 1; border: 1px solid var(--glp-line); border-radius: 10px; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.glp-preview-main img { max-width: 100%; max-height: 420px; object-fit: contain; }
.glp-preview-listtag { display: inline-flex; align-items: center; gap: 0.3rem; background: #fbe9e9; color: var(--glp-red); padding: 0.3rem 0.7rem; border-radius: 6px; font-size: 0.8rem; margin-bottom: 0.6rem; }
.glp-preview h2 { font-family: var(--glp-serif); font-size: 1.9rem; margin: 0.2rem 0; }
.glp-preview-price { font-family: var(--glp-serif); font-size: 1.5rem; font-weight: 700; }
.glp-preview-progressbox { background: var(--glp-cream); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.glp-preview-progressbox .glp-progress { width: 100%; }
.glp-preview-progress-head { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.5rem; }
.glp-preview-progress-head em { color: var(--glp-red); font-weight: 700; font-style: normal; }
@media (max-width: 720px) { .glp-preview { grid-template-columns: 1fr; } }

/* ---- Password gate ----------------------------------------------------- */
.glp-password-card {
  max-width: 460px; margin: 3rem auto; background: #fff; border: 1px solid var(--glp-line);
  border-radius: 14px; padding: 2.5rem; text-align: center; box-shadow: var(--glp-shadow);
}
.glp-lock-big { font-size: 3rem !important; color: var(--glp-gold); }

/* ---- Mis Listas -------------------------------------------------------- */
.glp-mylists { max-width: 1200px; margin: 0 auto; }
.glp-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.glp-stats { display: flex; gap: 1.5rem; justify-content: center; margin: 1.5rem 0 2.5rem; flex-wrap: wrap; }
.glp-stat-card {
  border: 1px solid var(--glp-red); border-radius: 6px; min-width: 260px;
  text-align: center; padding: 1.4rem 2rem;
}
.glp-stat-label { display: block; color: var(--glp-muted); font-family: var(--glp-serif); margin-bottom: 0.4rem; }
.glp-stat-value { font-family: var(--glp-serif); font-size: 2rem; font-weight: 700; }
.glp-stat-value em { color: var(--glp-red); font-style: normal; }

.glp-badge { padding: 0.25rem 0.8rem; border-radius: 6px; font-size: 0.8rem; font-weight: 700; background: #f2ecdf; color: var(--glp-ink); }
.glp-badge-1 { background: #fbe4e4; color: var(--glp-red); }
.glp-badge-2 { background: #fdf3d1; color: #8a6d1a; }
.glp-badge-3 { background: #dfeafc; color: #2b5ea7; }

/* Switch */
.glp-switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.glp-switch input { opacity: 0; width: 0; height: 0; }
.glp-switch span {
  position: absolute; inset: 0; background: #ddd4c6; border-radius: 26px;
  transition: background 0.2s ease; cursor: pointer;
}
.glp-switch span::before {
  content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px; transition: transform 0.2s ease;
}
.glp-switch input:checked + span { background: var(--glp-red); }
.glp-switch input:checked + span::before { transform: translateX(20px); }

/* Dropdown menu */
.glp-menu { position: relative; display: inline-block; }
.glp-menu-toggle { background: #f4efe6; border: 0; border-radius: 6px; width: 34px; height: 34px; cursor: pointer; color: var(--glp-red); }
.glp-menu-dropdown {
  position: absolute; right: 0; top: 110%; z-index: 60; min-width: 200px;
  background: #fff; border: 1px solid var(--glp-line); border-radius: 10px;
  box-shadow: var(--glp-shadow); padding: 0.4rem; text-align: left;
}
.glp-menu-dropdown a, .glp-menu-dropdown button {
  display: flex; align-items: center; gap: 0.6rem; width: 100%;
  padding: 0.55rem 0.8rem; border: 0; background: none; cursor: pointer;
  color: var(--glp-ink); text-decoration: none; border-radius: 6px; font-size: 0.9rem;
}
.glp-menu-dropdown a:hover, .glp-menu-dropdown button:hover { background: var(--glp-cream); }
.glp-menu-dropdown .fa { font-size: 1.1rem; color: var(--glp-red); }

/* ---- Form -------------------------------------------------------------- */
.glp-form { max-width: 680px; margin: 0 auto; }
.glp-card { background: #fff; border: 1px solid var(--glp-line); border-radius: 14px; padding: 2rem; box-shadow: 0 4px 18px rgba(47, 43, 38, 0.05); }
.glp-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 1.6rem; border-bottom: 1px solid var(--glp-line); }
.glp-step { flex: 1; max-width: 300px; text-align: center; padding: 0.8rem 0.4rem; color: var(--glp-muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.glp-step.glp-active { color: var(--glp-red); font-weight: 700; border-bottom-color: var(--glp-red); }
.glp-upload {
  border: 2px dashed #e7b9b9; border-radius: 12px; background: #fdf7f4;
  text-align: center; padding: 1.6rem; margin-bottom: 1.2rem;
}
.glp-upload .fa { color: var(--glp-red); font-size: 1.8rem; background: #fff; border-radius: 50%; padding: 0.5rem; }
.glp-upload-preview { max-width: 100%; max-height: 140px; border-radius: 8px; display: block; margin: 0 auto 0.8rem; }
.glp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .glp-row { grid-template-columns: 1fr; } }
.glp-restricted-box {
  display: flex; justify-content: space-between; align-items: center;
  background: #fdf4f0; border-radius: 10px; padding: 0.9rem 1.1rem; margin-bottom: 1rem;
}
.glp-form-actions { display: flex; justify-content: flex-end; gap: 0.8rem; margin-top: 1.4rem; flex-wrap: wrap; }

/* ---- Onboarding -------------------------------------------------------- */
.glp-onboarding { text-align: center; }
.glp-onboarding h2 { font-weight: 700; max-width: 720px; margin: 0.4rem auto 0.6rem; }
.glp-onboarding-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.glp-onboarding-steps > div { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.glp-circle {
  width: 84px; height: 84px; border-radius: 50%; background: var(--glp-cream);
  display: flex; align-items: center; justify-content: center;
}
.glp-circle .fa { color: var(--glp-red); font-size: 2rem; }
@media (max-width: 620px) { .glp-onboarding-steps { grid-template-columns: 1fr; } }

/* Drag handle */
.glp-drag-handle { cursor: grab; color: var(--glp-muted); width: 34px; }
.glp-sortable-ghost { opacity: 0.4; background: var(--glp-cream); }

/* ---- Floating gift cart button + offcanvas ----------------------------- */
#glp-cart-fab {
  position: fixed; right: 0; top: 45%; z-index: 1100;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  background: var(--glp-red); color: #fff; border: 0; cursor: pointer;
  padding: 1rem 0.9rem; border-radius: 12px 0 0 12px;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, 0.25);
  max-width: 130px; text-align: center; font-size: 0.75rem; line-height: 1.3;
}
#glp-cart-fab strong { font-size: 0.95rem; }
#glp-cart-fab:hover { background: var(--glp-red-dark); }

.glp-offcanvas { position: fixed; inset: 0; z-index: 1300; }
.glp-offcanvas-backdrop { position: absolute; inset: 0; background: rgba(30, 25, 20, 0.5); }
.glp-offcanvas-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 460px; max-width: 94vw;
  background: #fff; box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  display: flex; flex-direction: column; padding: 1.4rem; overflow-y: auto;
}
.glp-offcanvas-panel header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.glp-offcanvas-panel header h3 { font-family: var(--glp-serif); display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.glp-offcanvas-panel header h3 .fa { color: var(--glp-red); }
.glp-offcanvas-panel header button { background: none; border: 0; font-size: 1.7rem; cursor: pointer; }
.glp-cart-list-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: #fbe9e9; color: var(--glp-red); border-radius: 6px;
  padding: 0.35rem 0.7rem; font-size: 0.85rem; margin-bottom: 1rem; align-self: flex-start;
}
.glp-cart-list-tag .fa { font-size: 1rem; }
#glp-cart-items { flex: 1; }
.glp-cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--glp-line); align-items: center; }
.glp-cart-item img { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--glp-line); border-radius: 8px; }
.glp-cart-item-name { font-family: var(--glp-serif); font-weight: 700; margin-bottom: 0.4rem; }
.glp-cart-item-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.glp-cart-item-right .glp-remove { background: none; border: 0; color: var(--glp-red); cursor: pointer; }
.glp-cart-line { display: flex; justify-content: space-between; padding: 0.5rem 0; font-family: var(--glp-serif); }
.glp-cart-total { border-top: 1px solid var(--glp-line); font-size: 1.15rem; }
.glp-cart-total strong { color: var(--glp-red); }
.glp-offcanvas-panel footer { margin-top: 0.8rem; }

/* ---- Builder side panel ------------------------------------------------ */
.glp-builder {
  position: fixed; right: 0; top: 120px; z-index: 1050; width: 320px; max-width: 92vw;
  background: #fff; border: 1px solid var(--glp-line); border-right: 0;
  border-radius: 14px 0 0 14px; box-shadow: -8px 8px 30px rgba(0, 0, 0, 0.15);
  display: flex; flex-direction: column; max-height: 70vh;
  transition: transform 0.25s ease;
}
.glp-builder.glp-collapsed { transform: translateX(calc(100% - 46px)); }
.glp-builder header {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--glp-red); color: #fff; padding: 0.8rem 0.9rem; border-radius: 12px 0 0 0;
}
.glp-builder header small { display: block; opacity: 0.85; font-size: 0.7rem; }
.glp-builder header strong { font-size: 0.9rem; }
.glp-builder header div { flex: 1; min-width: 0; }
#glp-builder-toggle { background: none; border: 0; color: #fff; cursor: pointer; padding: 0; }
.glp-builder-body { padding: 0.9rem; overflow-y: auto; flex: 1; }
.glp-builder-count { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 0.7rem; }
.glp-builder-count strong { color: var(--glp-red); }
#glp-builder-items { list-style: none; margin: 0; padding: 0; }
#glp-builder-items li { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0; border-bottom: 1px solid var(--glp-line); font-size: 0.85rem; }
#glp-builder-items img { width: 38px; height: 38px; object-fit: contain; border: 1px solid var(--glp-line); border-radius: 6px; }
#glp-builder-items span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#glp-builder-items em { color: var(--glp-red); font-style: normal; font-weight: 700; }
.glp-builder footer { display: flex; gap: 0.6rem; padding: 0.9rem; border-top: 1px solid var(--glp-line); }
.glp-builder footer .glp-btn { flex: 1; justify-content: center; }

/* ---- Gifts detail modal ------------------------------------------------ */
.glp-gifts-head { display: flex; gap: 1rem; align-items: center; background: var(--glp-cream); border-radius: 10px; padding: 1rem; margin-bottom: 1.2rem; }
.glp-gifts-head img { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; border: 1px solid var(--glp-line); }
.glp-gifts-head .glp-progress { width: 100%; }
.glp-gifts-head > div { flex: 1; }
.glp-gifts-progress-label { display: flex; justify-content: space-between; margin-bottom: 0.4rem; font-size: 0.9rem; }
.glp-gifts-progress-label em { color: var(--glp-red); font-style: normal; font-weight: 700; }

/* ---- Misc / toast ------------------------------------------------------ */
.glp-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--glp-ink); color: #fff; padding: 0.7rem 1.3rem; border-radius: 8px;
  z-index: 1500; box-shadow: var(--glp-shadow); font-size: 0.9rem;
  opacity: 0; transition: opacity 0.25s ease;
}
.glp-toast.glp-show { opacity: 1; }
.glp-empty { text-align: center; color: var(--glp-muted); padding: 3rem 0; }

/* ------------------------------------------------------------------ *
 * Circular covers (shown everywhere the list photo appears)
 * ------------------------------------------------------------------ */
.glp-cover-round {
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 3px solid var(--glp-gold, #b89b5e);
  background: #fff;
}
.glp-cover .glp-cover-round { width: 140px; height: 140px; }
.glp-lists-table .glp-cover-round { width: 56px; height: 56px; }
.glp-upload .glp-cover-preview { width: 110px; height: 110px; margin-bottom: 0.5rem; }

/* ------------------------------------------------------------------ *
 * Share modal: 5 buttons in a single row + e-mail invitations
 * ------------------------------------------------------------------ */
.glp-share-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
}
.glp-share-row .glp-share {
  flex: 1 1 0;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.85rem;
  padding: 0.55rem 0.4rem;
}
@media (max-width: 640px) {
  .glp-share-row { flex-wrap: wrap; }
  .glp-share-row .glp-share { flex: 1 1 45%; }
}

.glp-divider { border: 0; border-top: 1px solid var(--glp-border, #e7dfd3); margin: 1.25rem 0; }

.glp-invite h4 { margin: 0 0 0.75rem; color: var(--glp-red, #8b1e1e); }
.glp-invite .glp-label { margin-top: 0.75rem; }
.glp-invite-email-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.glp-invite-email-row .glp-input { flex: 1; margin: 0; }
.glp-invite-remove {
  background: none;
  border: 1px solid var(--glp-border, #e7dfd3);
  border-radius: 6px;
  color: var(--glp-red, #8b1e1e);
  cursor: pointer;
  padding: 0.45rem 0.6rem;
}
.glp-invite-remove:hover { background: #fdf1f1; }

.glp-invite-preview {
  margin-top: 0.75rem;
  padding: 1rem;
  background: #faf7f2;
  border: 1px solid var(--glp-border, #e7dfd3);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.glp-invite-preview a { color: var(--glp-red, #8b1e1e); font-weight: 600; }
.glp-invite-preview ol { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.glp-invite-actions { margin-top: 1rem; text-align: right; }

/* Back office impersonation notice shown in the customer account */
.glp-impersonate-banner {
  background: #fff6e5;
  border: 1px solid #e8c98a;
  border-left: 4px solid #b89b5e;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  color: #7a5c14;
  font-size: 0.92rem;
}
