/* dtaccountmenu – μενού «Λογαριασμός» για μη συνδεδεμένους πελάτες */
.userinfo-selector .user-info.dtam-menu { min-width: 240px; max-width: calc(100vw - 16px); padding: 8px 0; }
.dtam-menu .dtam-item { list-style: none; margin: 0; padding: 0; border: 0; }
.dtam-menu .dtam-item.dtam-sep { border-top: 1px solid #e5e7eb; margin-top: 6px; padding-top: 6px; }

.dtam-menu .dtam-item > a.dropdown-item {
  display: flex !important; align-items: center; gap: 10px;
  padding: 8px 16px !important; color: #272727 !important; font-size: 14px; line-height: 1.3;
  text-transform: none; white-space: nowrap; background: none;
  transition: background .15s ease, color .15s ease;
}
.dtam-menu .dtam-item > a.dropdown-item:hover,
.dtam-menu .dtam-item > a.dropdown-item:focus { background: #f2f9fc; color: #0086b3 !important; }
.dtam-menu .dtam-item > a.dropdown-item::before,
.dtam-menu .dtam-item > a.dropdown-item::after { content: none !important; }

.dtam-menu .dtam-text { display: flex; flex-direction: column; }
.dtam-menu .dtam-label { font-weight: 500; }
.dtam-menu .dtam-hint { font-size: 12px; color: #6b7280; font-weight: normal; margin-top: 1px; }

/* Σύνδεση: κουμπί στο χρώμα του κουμπιού καλαθιού (dtqtybuttons), αλλιώς γαλάζιο του θέματος */
.dtam-menu .dtam-primary { padding: 0 12px 6px; }
.dtam-menu .dtam-primary > a.dropdown-item {
  border-radius: 6px; color: #fff !important;
  background: linear-gradient(180deg, var(--dt-cart-bg, #00a6d6) 0%, color-mix(in srgb, var(--dt-cart-bg, #00a6d6) 80%, #000) 100%) !important;
  padding: 10px 14px !important;
}
.dtam-menu .dtam-primary > a.dropdown-item:hover,
.dtam-menu .dtam-primary > a.dropdown-item:focus { filter: brightness(1.07); color: #fff !important; }
.dtam-menu .dtam-primary .dtam-hint { color: rgba(255, 255, 255, .85); }

/* Εικονίδια (SVG mask, παίρνουν το χρώμα του κειμένου) */
.dtam-menu .dtam-icon {
  display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; background: currentColor; font-style: normal;
  -webkit-mask: var(--dtam-ico) center / contain no-repeat; mask: var(--dtam-ico) center / contain no-repeat;
}
.dtam-menu .dtam-icon::before { content: none !important; }
.dtam-signin { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/svg%3E"); }
.dtam-signup { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21v-1a6 6 0 0 1 6-6h2a6 6 0 0 1 6 6v1'/%3E%3Cpath d='M19 8v6M16 11h6'/%3E%3C/svg%3E"); }
.dtam-password { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.dtam-contact { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }

/* ===== Συνδεδεμένος πελάτης ===== */
.userinfo-selector .user-info.dtam-customer { min-width: 270px; }
@media (max-width: 359px) { .userinfo-selector .user-info.dtam-menu { min-width: 0; width: calc(100vw - 16px); } }
.dtam-menu .dtam-head { list-style: none; margin: 0 0 6px; padding: 0 0 6px; border-bottom: 1px solid #e5e7eb; }
.dtam-menu .dtam-head-link { display: flex; align-items: center; gap: 12px; padding: 6px 16px 8px; color: #272727; text-decoration: none; }
.dtam-menu .dtam-head-link:hover { color: #0086b3; }
.dtam-menu .dtam-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px;
  border-radius: 50%; color: #fff; font-weight: 700; font-size: 16px;
  background: linear-gradient(180deg, var(--dt-cart-bg, #00a6d6) 0%, color-mix(in srgb, var(--dt-cart-bg, #00a6d6) 75%, #000) 100%);
}
.dtam-menu .dtam-head-text { display: flex; flex-direction: column; min-width: 0; }
.dtam-menu .dtam-head-title { font-weight: 700; font-size: 14px; line-height: 1.3; white-space: normal; }
.dtam-menu .dtam-head-sub { font-size: 12px; color: #6b7280; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }

.dtam-menu .dtam-badge {
  margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 10px;
  display: inline-flex !important; align-items: center; justify-content: center;
  background: #eef2f7; color: #374151; font-size: 12px; font-weight: 600; line-height: 1;
  position: static !important; transform: none !important;
}
/* Το θέμα βάζει παρενθέσεις γύρω από το .deo-total */
.dtam-menu .dtam-badge::before, .dtam-menu .dtam-badge::after { content: none !important; }
.dtam-menu .dtam-primary .dtam-badge { background: rgba(255, 255, 255, .25); color: #fff; }
.dtam-menu .dtam-logout > a.dropdown-item:hover,
.dtam-menu .dtam-logout > a.dropdown-item:focus { background: #fdf2f2; color: #b91c1c !important; }

.dtam-checkout { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.7 12.4a1.5 1.5 0 0 0 1.5 1.1h8.9a1.5 1.5 0 0 0 1.5-1.1L22 7H6.2'/%3E%3C/svg%3E"); }
.dtam-account { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a7 7 0 0 1 7-7h2a7 7 0 0 1 7 7v1'/%3E%3C/svg%3E"); }
.dtam-orders { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E"); }
.dtam-offers { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
.dtam-addresses { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.dtam-wishlist { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.4 8 3.3 4.5 6.8 4.5c2.1 0 3.6 1.2 5.2 3 1.6-1.8 3.1-3 5.2-3 3.5 0 5.4 3.5 4.1 6.8-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E"); }
.dtam-logout { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E"); }
.dtam-vouchers { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2a2 2 0 0 0 0-4z'/%3E%3Cpath d='M10 9l4 6M10 9.5h.01M14 14.5h.01'/%3E%3C/svg%3E"); }
.dtam-menu .dtam-badge.dtam-badge-on { background: #dcfce7; color: #15803d; }
.dtam-offerprofile { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.dtam-myoffers { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v9H4v-9'/%3E%3Cpath d='M2 7h20v5H2z'/%3E%3Cpath d='M12 21V7'/%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7zM12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'/%3E%3C/svg%3E"); }
.dtam-xml { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5'/%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E"); }

/* 1.4.1 – άδειο καλάθι: «Ολοκλήρωση παραγγελίας» ανενεργό */
.dtam-menu .dtam-primary.dtam-disabled > a.dropdown-item,
.dtam-menu .dtam-primary.dtam-disabled > a.dropdown-item:hover,
.dtam-menu .dtam-primary.dtam-disabled > a.dropdown-item:focus {
  background: #e5e7eb !important; color: #6b7280 !important; box-shadow: none !important; filter: none !important;
  cursor: not-allowed; pointer-events: auto;
}
.dtam-menu .dtam-primary.dtam-disabled .dtam-hint { color: #6b7280 !important; }
.dtam-menu .dtam-primary.dtam-disabled .dtam-icon { opacity: .6; }
.dtam-quickorder { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E"); }
.dtam-savedcarts { --dtam-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
