body {
  width: 100%;
  height: 100%;
}
h1, h2, h3, h4, h5, h6 {
  color: #444;
}
legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
label {
  font-size: 12px;
  font-weight: normal;
}
/* Chrome border line */
button:focus {
  outline: none !important;
}
/* container */
#container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#container > main {
  flex: 1 0 auto;
}

/* =========================================================
   SITE HEADER  (#site-header)
   ========================================================= */
#site-header {
  width: 100%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: none;
}

/* inner flex row */
.sh-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ---- Logo ---- */
.sh-logo {
  flex-shrink: 0;
}
.sh-logo img {
  max-height: 45px;
  width: auto;
  display: block;
}
.sh-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f0f0f;
  text-decoration: none;
  letter-spacing: -.5px;
}
.sh-logo-text:hover { color: #dd0505; }

/* ---- Search ---- */
.sh-search {
  flex: 1 1 0;
  min-width: 0;
}
.sh-search-form {
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
}
.sh-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid rgba(15,15,15,.16);
  border-right: none;
  border-radius: 0;
  background: rgba(255,255,255,.75);
  padding: 0 16px;
  outline: none;
  box-sizing: border-box;
  color: #0f0f0f;
  transition: background .2s, border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.sh-search-input::placeholder { color: rgba(15,15,15,.45); }
.sh-search-input:focus {
  background: #fff;
  border-color: #dd0505;
}
.sh-search-btn {
  flex-shrink: 0;
  width: 48px;
  height: 40px;
  font-size: 16px;
  background: #dd0505;
  border: 1.5px solid transparent;
  border-left: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}
.sh-search-btn:hover {
  background: #b00404;
  color: #fff;
}
/* La focus pe input, bordura rosie cuprinde si butonul — bara intreaga unitara */
.sh-search-form:focus-within .sh-search-input,
.sh-search-form:focus-within .sh-search-btn {
  border-color: #dd0505;
}

/* ---- Action icons (wishlist / account / cart) ---- */
.sh-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.sh-action-btn,
.sh-action-btn > a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: unset;
  width: auto;
  border-radius: 0;
  color: #0f0f0f;
  font-size: 22px;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 6px;
  transition: color .15s;
  position: relative;
  gap: 8px;
  white-space: nowrap;
}
.sh-action-label {
  font-size: 14.5px;
  font-weight: 500;
  color: #0f0f0f;
  line-height: 1;
  letter-spacing: .1px;
  white-space: nowrap;
  transition: color .15s;
}
/* Fundal hover DOAR pe elementul interactiv:
   - Favorite: chiar <a class="sh-action-btn">
   - Cont: <a> din interiorul div.sh-action-btn (nu si pe div!)
   - Cos: button.sh-cart-toggle (regula proprie mai jos) */
a.sh-action-btn:hover,
div.sh-action-btn > a:hover {
  background: rgba(15,15,15,.06);
  color: #0f0f0f;
}
div.sh-action-btn:hover {
  background: transparent;
}

/* === WISHLIST: a.sh-action-btn — elementul insusi e <a>, iconita mosteneste culoarea din parent === */
a.sh-action-btn:hover > .sh-action-label { color: #0f0f0f; }

/* === CONT: div.sh-action-btn > a.dropdown-toggle > i + span === */
.sh-action-btn.dropdown > a:hover > i { color: #0f0f0f; }
.sh-action-btn.dropdown > a:hover > .sh-action-label { color: #0f0f0f; }
.sh-action-btn.dropdown > a.dropdown-toggle[aria-expanded="true"] { color: #0f0f0f !important; background: rgba(15,15,15,.06); }
.sh-action-btn.dropdown > a.dropdown-toggle[aria-expanded="true"] > i { color: #0f0f0f !important; }
.sh-action-btn.dropdown > a.dropdown-toggle[aria-expanded="true"] > .sh-action-label { color: #0f0f0f !important; }

/* === COS: button.sh-cart-toggle > i + span === */
.sh-cart-toggle:hover { color: #0f0f0f; background: rgba(15,15,15,.06); border-radius: 8px; }
.sh-cart-toggle:hover i { color: #0f0f0f; }
.sh-cart-toggle:hover .sh-action-label { color: #0f0f0f; }
.sh-cart-toggle.dropdown-toggle[aria-expanded="true"] { color: #0f0f0f !important; background: rgba(15,15,15,.06); }
.sh-cart-toggle.dropdown-toggle[aria-expanded="true"] i { color: #0f0f0f !important; }
.sh-cart-toggle.dropdown-toggle[aria-expanded="true"] .sh-action-label { color: #0f0f0f !important; }

/* remove Bootstrap dropdown arrow */
.sh-action-btn .dropdown-toggle::after { display: none; }

/* =========================================================
   ACCOUNT & CART — slide-in sidenav din dreapta
   ========================================================= */
/* Panourile sunt mutate cu JS direct in <body> (portal) ca backdrop-filter
   sa functioneze corect peste continutul paginii. Fara overlay — doar shadow. */
.sh-account-menu.dropdown-menu,
.sh-cart-panel.dropdown-menu {
  display: flex !important;
  flex-direction: column;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  margin: 0 !important;
  border: none;
  border-top: none;
  border-left: 1px solid rgba(0, 0, 0, .08);
  box-shadow: -18px 0 60px rgba(15,15,15,.28);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  z-index: 1080;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22,.9,.35,1);
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
}
.sh-account-menu.dropdown-menu.show,
.sh-cart-panel.dropdown-menu.show {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.sh-account-menu.dropdown-menu { width: 320px; }
.sh-cart-panel.dropdown-menu { width: 380px; max-width: 92vw; }

/* Header sidenav (titlu + X) — identic cu header-ul meniului mobil */
.sh-sn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(15,15,15,.04);
  border-bottom: 1px solid rgba(0,0,0,.06);
  flex-shrink: 0;
}
.sh-sn-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f0f0f;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.sh-sn-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #0f0f0f;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  transition: background .15s, color .15s;
}
.sh-sn-close:hover { background: rgba(15,15,15,.06); color: #dd0505; }

@media (max-width: 480px) {
  .sh-account-menu.dropdown-menu,
  .sh-cart-panel.dropdown-menu { width: 88vw; }
}

/* account dropdown */
.sh-account-menu {
  border: none;
  border-radius: 0;
  padding: 0;
  min-width: 240px;
  overflow: hidden;
}
/* Header section */
.sh-acm-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px 18px;
  background: rgba(15,15,15,.04);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.sh-acm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 0;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  background: #0f0f0f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sh-acm-avatar--logged {
  background: #dd0505;
  color: #fff;
}
.sh-acm-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sh-acm-name {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #0f0f0f;
  line-height: 1.2;
}
.sh-acm-sub {
  font-size: 11.5px;
  color: #5a6f86;
  line-height: 1.2;
}
/* Login/Register buttons */
.sh-acm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px;
}
.sh-acm-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: #dd0505;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: 0;
  text-decoration: none;
  transition: background .15s;
}
.sh-acm-btn-primary i { line-height: 0; }
.sh-acm-btn-primary:hover { background: #b00404; color: #fff; }
.sh-acm-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  background: transparent;
  color: #0f0f0f;
  font-size: 13.5px;
  font-weight: 400;
  border-radius: 0;
  border: 1.5px solid #d0d9e4;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.sh-acm-btn-secondary:hover { border-color: #0f0f0f; color: #0f0f0f; }
.sh-acm-btn-link {
  display: block;
  text-align: center;
  padding: 6px 0 2px;
  font-size: 13px;
  font-weight: 400;
  color: #7a8fa6;
  text-decoration: none;
  transition: color .15s;
}
.sh-acm-btn-link:hover { color: #dd0505; text-decoration: underline; }
.sh-acm-btn-link--secondary { color: #0f0f0f; font-weight: 500; }
.sh-acm-btn-link--secondary:hover { color: #dd0505; }
/* sau divider */
.sh-acm-sau {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
  color: #b0bec5;
  font-size: 11.5px;
}
.sh-acm-sau::before,
.sh-acm-sau::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(15,15,15,.14);
}
.sh-acm-sau span { white-space: nowrap; }
/* Menu items */
.sh-acm-divider {
  height: 1px;
  background: rgba(15,15,15,.1);
  margin: 0;
}
.sh-acm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: #0f0f0f;
  text-decoration: none;
  transition: background .12s, color .12s;
  position: relative;
}
.sh-acm-item i {
  width: 16px;
  text-align: center;
  color: #5a6f86;
  font-size: 14px;
  transition: color .12s;
  flex-shrink: 0;
}
.sh-acm-item span { flex: 1; }
.sh-acm-item::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  color: #dd0505;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .12s, transform .12s;
}
.sh-acm-item:hover {
  background: rgba(15,15,15,.06);
  color: #dd0505;
}
.sh-acm-item:hover i { color: #dd0505; }
.sh-acm-item:hover::after { opacity: 1; transform: translateX(0); }
.sh-acm-item--danger::after { display: none; }
.sh-acm-item--danger { color: #dd0505; }
.sh-acm-item--danger i { color: #dd0505; }
.sh-acm-item--danger:hover { background: #fdeaec; color: #b00404; }
.sh-acm-item--danger:hover i { color: #b00404; }

/* ---- Cart icon button (inside #cart ? .sh-cart-inner) ---- */
.sh-cart { position: relative; }
.sh-cart-inner { margin: 0; }

.sh-cart-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: unset;
  height: 44px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #0f0f0f;
  font-size: 22px;
  cursor: pointer;
  padding: 0 6px;
  transition: color .15s;
  position: relative;
  gap: 8px;
  white-space: nowrap;
}
  .sh-cart-toggle:hover { background: rgba(15,15,15,.06); color: #0f0f0f; }
  .sh-cart-toggle:hover > .sh-action-label { color: #0f0f0f; }
.sh-cart-toggle::after { display: none; } /* no caret */
.sh-cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Cart quantity bubble */
.sh-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dd0505;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
  pointer-events: none;
  border: 1.5px solid #fff;
}

/* ---- Cart dropdown panel ---- */
.sh-cart-panel {
  min-width: 320px;
  max-width: 370px;
  border: none;
  border-radius: 0;
  padding: 0 !important;
  overflow: hidden;
}
@media (max-width: 480px) {
  .sh-cart-panel { min-width: calc(100vw - 32px); max-width: calc(100vw - 32px); }
}

/* Product list */
.sh-cp-products {
  flex: 1;
  max-height: none;
  overflow-y: auto;
}
.sh-cp-products::-webkit-scrollbar { width: 3px; }
.sh-cp-products::-webkit-scrollbar-track { background: transparent; }
.sh-cp-products::-webkit-scrollbar-thumb { background: #d0d9e4; border-radius: 4px; }

.sh-cp-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  transition: background .12s;
  position: relative;
  cursor: pointer;
}
.sh-cp-item:hover { background: rgba(15,15,15,.05); }

.sh-cp-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0;
  overflow: hidden;
  display: block;
  background: rgba(15,15,15,.05);
  position: relative;
  z-index: 1;
}
.sh-cp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sh-cp-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0cbd8;
  font-size: 16px;
}

.sh-cp-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}
.sh-cp-name {
  font-size: 12.5px;
  font-weight: 500;
  color: #1a2332;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.sh-cp-meta {
  font-size: 10.5px;
  color: #9aacbc;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.sh-cp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sh-cp-qty {
  font-size: 11px;
  color: #9aacbc;
  background: #eef1f5;
  border-radius: 4px;
  padding: 1px 5px;
}
.sh-cp-price {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f0f0f;
}

.sh-cp-remove {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #c0cbd8;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, color .12s;
  padding: 0;
  position: relative;
  z-index: 2;
}
.sh-cp-remove:hover { background: #fde8e8; color: #c0392b; }

/* Totals */
.sh-cp-totals {
  border-top: 1px solid rgba(15,15,15,.1);
  padding: 10px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sh-cp-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #555;
}
.sh-cp-total-row:last-child {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f0f0f;
  padding-top: 5px;
  border-top: 1px dashed #e2e8f0;
  margin-top: 3px;
}

/* Actions */
.sh-cp-actions {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: rgba(15,15,15,.04);
}
.sh-cp-btn-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px;
  background: #dd0505;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: 0;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
  box-sizing: border-box;
}
.sh-cp-btn-primary:hover { background: #b00404; color: #fff; }
.sh-cp-btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  background: transparent;
  color: #0f0f0f;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
  border: 1.5px solid #d0d9e4;
  text-decoration: none;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.sh-cp-btn-secondary:hover { border-color: #0f0f0f; color: #0f0f0f; }

/* Empty state */
.sh-cp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  text-align: center;
}
.sh-cp-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0cbd8;
  font-size: 20px;
}
.sh-cp-empty-text {
  font-size: 13px;
  color: #9aacbc;
  margin: 0;
}

/* =========================================================
   CART ADDED MODAL
   ========================================================= */
.cam-dialog {
  max-width: 400px;
  width: calc(100% - 32px);
  margin: auto;
}
.cam-content {
  background: #fff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 40px rgba(15,15,15,.18) !important;
  padding: 32px 28px 24px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}
/* elemente populate de JS dar neafișate */
.cam-hidden { display: none !important; }
/* Close */
.cam-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
}
.cam-close:hover { color: #0f0f0f; }
/* Check */
.cam-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e9f7ef;
  color: #27ae60;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
/* Message */
.cam-badge {
  font-size: 16px;
  font-weight: 600;
  color: #0f0f0f;
  text-align: center;
  margin: 0;
}
/* Actions */
.cam-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}
.cam-btn-primary,
.cam-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.cam-btn-primary {
  background: #dd0505;
  color: #fff;
  border: 1px solid #dd0505;
}
.cam-btn-primary:hover { background: #b00404; border-color: #b00404; color: #fff; }
.cam-btn-secondary {
  background: #fff;
  color: #0f0f0f;
  border: 1px solid #d0d9e4;
}
.cam-btn-secondary:hover { border-color: #0f0f0f; color: #0f0f0f; }
#modal-cart-added .modal-dialog { margin: auto; }

/* =========================================================
   REMOVE TOAST
   ========================================================= */
.sh-toast {
  position: fixed;
  top: 24px;
  right: 28px;
  bottom: auto;
  z-index: 9999;
  display: flex;
    border-radius: 0;
  gap: 11px;
  min-width: 240px;
    color: #0f0f0f;
  padding: 13px 15px;
  border-radius: 8px;
  background: #e8faf0;
  border: 1.5px solid rgba(74,222,128,.15);
  box-shadow: 0 8px 24px rgba(15,15,15,.12);
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .2s ease;
  .sh-cart-toggle:hover { background: rgba(15,15,15,.06); color: #0f0f0f; }
}
.sh-toast.sh-toast--visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.sh-toast--danger .sh-toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(74,222,128,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #4ade80;
  flex-shrink: 0;
}
.sh-toast-msg {
  flex: 1;
  font-size: 13px;
  font-weight: 400;
  color: #1a2332;
  line-height: 1.45;
}
.sh-toast-close {
  background: none;
  border: none;
  color: #bbb;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color .15s;
}
.sh-toast-close:hover { color: #555; }

/* =========================================================
   CATEGORY NAV  (#site-nav ? #menu)
   ========================================================= */
#site-nav {
  width: 100%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky;
  top: 68px;
  z-index: 1029;
}
@media (max-width: 1023.98px) {
  #site-nav { border-bottom: none; }
}

/* .sn-inner removed ï¿½ nav is full-width */

#menu {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  min-height: unset;
  height: 48px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}
#menu .container {
  height: 100%;
  align-items: stretch !important;
}
#menu .navbar-collapse {
  height: 100%;
  align-items: stretch !important;
}
#menu .navbar-nav {
  align-items: stretch !important;
}

/* Mobile hamburger inside menu */
#menu .navbar-toggler {
  border: none;
  background: transparent;
  color: #fff;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
}
.sn-cat-label { font-size: 14px; }
#menu .navbar-toggler:focus { box-shadow: none; }

/* Nav links */
#menu .navbar-nav { gap: 4px; }
#menu .navbar-nav > li {
  display: flex;
  align-items: stretch;
}
#menu .navbar-nav > li > a {
  display: flex;
  align-items: center;
  color: #0f0f0f !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 14px !important;
  letter-spacing: .4px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  transition: background .15s, color .15s;
  text-decoration: none;
}
#menu .navbar-nav > li > a:hover,
#menu .navbar-nav > li > a.active {
  background: rgba(15,15,15,.08);
  color: #dd0505 !important;
}
#menu .navbar-nav > li > a.dropdown-toggle::after {
  opacity: .7;
}
/* Produse button — accent rosu, consistent cu homepage */
#menu .navbar-nav > li > a.sn-produse-btn,
#menu .navbar-nav > li > button.sn-produse-btn {
  background: #dd0505 !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0 18px !important;
  font-size: 13.5px !important;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin: 6px 8px 6px 0;
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
}
#menu .navbar-nav > li > a.sn-produse-btn:hover,
#menu .navbar-nav > li > a.sn-produse-btn[aria-expanded="true"],
#menu .navbar-nav > li > button.sn-produse-btn:hover,
#menu .navbar-nav > li > button.sn-produse-btn[aria-expanded="true"],
#menu .navbar-nav > li.sn-produse-li:hover > a.sn-produse-btn,
#menu .navbar-nav > li.sn-produse-li:hover > button.sn-produse-btn {
  background: #b00404 !important;
  color: #fff !important;
}

/* =========================================================
   DIGI MENU — multi-level dropdown (redesigned)
   ========================================================= */
.sn-produse-li { position: relative !important; }

/* Root panel */
.sn-produse-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  transform: none !important;
  min-width: 248px;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(15,15,15,.16);
  padding: 8px !important;
  margin: 0 !important;
  z-index: 1050;
}
.sn-produse-menu.show { display: block; }

/* Lists reset */
.dm-root .dm-list,
.dm-flyout .dm-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dm-node { position: static; }

/* Items */
.dm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1d2733;
  line-height: 1.25;
  padding: 11px 14px;
  border-radius: 0;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.dm-item > span { flex: 1 1 auto; }
.dm-node:hover > .dm-item,
.dm-item:focus-visible {
  background: rgba(15,15,15,.06);
  color: #dd0505;
  outline: none;
}
.dm-caret {
  font-size: 11px;
  color: rgba(15,15,15,.32);
  margin-left: 12px;
  flex-shrink: 0;
  transition: color .15s ease, transform .15s ease;
}
.dm-node:hover > .dm-item .dm-caret {
  color: #dd0505;
}

/* Desktop flyouts */
@media (min-width: 992px) {
  /* ROOT dropdown is controlled by Bootstrap on CLICK (toggles .show).
     We only style the open/closed look; Bootstrap manages visibility via
     the .show class, and auto-close handles clicks outside. A small JS
     handler closes it on mouse-leave (see menu.twig). */
  #menu .navbar-nav > li.dropdown > .dropdown-menu {
    display: none;
  }
  #menu .navbar-nav > li.dropdown > .dropdown-menu.show {
    display: block;
  }

  /* Each panel is the positioning context so its child flyouts align to ITS top */
  .sn-produse-menu.dm-root,
  .dm-flyout { position: relative; }

  .dm-flyout {
    position: absolute;
    top: -1px;            /* align panel top edges (offset 1px border) */
    left: 100%;
    margin-left: 0;       /* panels flush, no gap */
    min-width: 240px;
    background: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 0;
    box-shadow: 0 16px 40px rgba(15,15,15,.16);
    padding: 8px;
    z-index: 1051;
    /* Hidden by default; revealed on hover. Using visibility+opacity (not
       display) so we can add a small close DELAY — the standard, fully
       cross-browser way to bridge the diagonal-mouse gap without any
       invisible overlays or JavaScript. */
    visibility: hidden;
    opacity: 0;
    transform: translateX(4px);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .25s;
  }
  .dm-node:hover > .dm-flyout {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    /* open immediately, no delay */
    transition: opacity .15s ease, transform .15s ease, visibility 0s;
  }
}

/* On mobile/collapsed nav, flatten flyouts into indented blocks */
@media (max-width: 991.98px) {
  .dm-flyout { display: block; position: static; visibility: visible; opacity: 1; transform: none; border: none; box-shadow: none; padding: 0; margin: 0; border-radius: 0; }
  .dm-flyout .dm-item { padding-left: 30px; font-size: 14px; }
  .dm-flyout .dm-flyout .dm-item { padding-left: 46px; }
  .dm-caret { transform: rotate(90deg); }
}

/* =========================================================
   DIGI MENU — nested sidebar (mobile) deeper levels
   ========================================================= */
/* Hierarchy is expressed purely through PROGRESSIVE INDENTATION, on a
   consistent step scale. No tinted backgrounds, no guide lines — every level
   simply sits one clear step deeper than its parent, which reads naturally on
   mobile.

   Indentation scale (left padding):
     Level 1 (top categories)      base .sh-sb-link  -> 20px
     Level 2 (child categories)                      -> 36px
     Level 3 (grandchild)                            -> 52px
     Level 4+ (each extra level)                     -> +16px
   The base row padding is 20px (matches .sh-sb-link), and each nesting level
   adds 16px. */

/* Nested rows use EXACTLY the same typography as the base mobile-menu rows
   (.sh-sb-link): same font-size, weight, letter-spacing, transform and color.
   Only the left padding changes per level (indentation), nothing else. */
.sh-sb-sub .sh-sb-row,
.sh-sb-sub .sh-sb-sub-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #0f0f0f;
}

/* --- Level 2 --- */
.sh-sb-sub > li > .sh-sb-row    { padding-left: 36px; }
.sh-sb-sub > li > .sh-sb-sub-link { padding-left: 36px; }

/* --- Level 3 --- */
.sh-sb-sub .sh-sb-sub > li > .sh-sb-row    { padding-left: 52px; }
.sh-sb-sub .sh-sb-sub > li > .sh-sb-sub-link { padding-left: 52px; }

/* --- Level 4 --- */
.sh-sb-sub .sh-sb-sub .sh-sb-sub > li > .sh-sb-row    { padding-left: 68px; }
.sh-sb-sub .sh-sb-sub .sh-sb-sub > li > .sh-sb-sub-link { padding-left: 68px; }

/* --- Open-path highlight ---------------------------------------------------
   Every row that is currently OPEN stays highlighted, so the whole chain
   of the open hierarchy (parent → child → grandchild) is clearly marked. */
.sh-sb-has-sub.sh-sb-sub--open > .sh-sb-row {
  color: #dd0505;
  background: rgba(15,15,15,.06);
}
.sh-sb-has-sub.sh-sb-sub--open > .sh-sb-row .sh-sb-chev { color: #dd0505; transform: rotate(90deg); }

/* Mobile nav (collapsed) */
@media (max-width: 991px) {
  #menu { padding: 0 16px; }
  #navbar-menu { background: #01305c; padding: 8px 0; }
  #menu .navbar-nav > li > a,
  #menu .navbar-nav > li > .nav-link {
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    padding: 12px 12px !important;
  }
  #menu .dropdown-menu {
    background: #0f0f0f;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  #menu .dropdown-menu .dropdown-item { color: rgba(255,255,255,.75); }
  #menu .dropdown-menu .dropdown-item:hover { background: rgba(255,255,255,.07); color: #fff; }
  #menu .dropdown-inner { flex-direction: column; }
}

/* main tag spacing (was indented by the old menu inside <main>) */
main > :first-child { margin-top: 0; }

/* Remove old top/logo/search/cart/menu leftover rules */
#top { display: none !important; }
#logo { display: none; }
#search { display: none; }

/* =========================================================
   HAMBURGER BUTTON
   ========================================================= */
.sh-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #0f0f0f;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .15s, color .15s;
  order: 1;
}
.sh-hamburger:hover { background: rgba(15,15,15,.06); color: #dd0505; }

/* =========================================================
   OVERLAY
   ========================================================= */
.sh-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15, .5);
  z-index: 1055;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.sh-overlay--vis {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.sh-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: calc(100vw - 56px);
  height: 100vh;
  height: 100dvh;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-right: 1px solid rgba(0,0,0,.08);
  z-index: 1080;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  box-shadow: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sh-sb--open {
  transform: translateX(0);
  box-shadow: 18px 0 60px rgba(15,15,15, .28);
}

/* Sidebar header */
.sh-sb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(15,15,15,.04);
  border-bottom: 1px solid rgba(0,0,0,.06);
  flex-shrink: 0;
}
.sh-sb-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f0f0f;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.sh-sb-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #0f0f0f;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  transition: background .15s, color .15s;
}
.sh-sb-close:hover { background: rgba(15,15,15,.06); color: #dd0505; }

/* Sidebar nav */
.sh-sb-nav {
  display: flex;
  flex-direction: column;
  padding: 0 0 6px;
  flex: 1;
}
.sh-sb-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #0f0f0f;
  text-decoration: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15,15,15,.06);
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background .12s, color .12s;
  box-sizing: border-box;
}
.sh-sb-link:focus {
  text-decoration: none;
  outline: none;
}
@media (hover: hover) {
  .sh-sb-link:hover {
    background: rgba(15,15,15,.06);
    color: #dd0505;
    text-decoration: none;
  }
  .sh-sb-link:hover i { color: #dd0505; }
}
.sh-sb-link i {
  width: 18px;
  text-align: center;
  color: #dd0505;
  font-size: 15px;
  flex-shrink: 0;
}

/* Row = the whole clickable toggle (inherits .sh-sb-link: flex, padding,
   border). Only the text link inside navigates. The chevron sits at the end. */
.sh-sb-row > .sh-sb-rowlink {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;        /* only as wide as its text, so the empty rest of the row stays a toggle target */
  color: inherit;
  text-decoration: none;
}
.sh-sb-row > .sh-sb-rowlink > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.sh-sb-chev {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  font-size: 13px;
  line-height: 0;
  color: rgba(15,15,15,.45);
  transition: transform .25s ease, color .12s;
  transform-origin: 50% 50%;
  flex-shrink: 0;
}
.sh-sb-chev::before { display: block; }

/* Sub-menu items */
.sh-sb-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: transparent;
}
.sh-sb-has-sub.sh-sb-sub--open > .sh-sb-sub { max-height: 1500px; }
.sh-sb-sub-link {
  display: block;
  padding: 10px 20px 10px 50px;
  font-size: 14px;
  font-weight: 500;
  color: #44586e;
  text-decoration: none;
  border-bottom: 1px solid rgba(15,15,15,.05);
  transition: background .12s, color .12s;
}
@media (hover: hover) {
  .sh-sb-sub-link:hover { background: rgba(15,15,15,.06); color: #dd0505; }
}

/* =========================================================
   RESPONSIVE HEADER  (≤1024px)
   ========================================================= */
@media (max-width: 1024px) {

  /* Show hamburger */
  .sh-hamburger { display: flex; }

  /* Rewrap the inner row */
  .sh-inner {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 0;
    align-items: center;
  }

  /* Row 1: hamburger | logo (flex-1) | actions */
  .sh-hamburger  { order: 1; margin-right: 10px; }
  .sh-logo       { order: 2; flex: 1 1 0; min-width: 0; overflow: hidden; }
  .sh-logo img   { max-height: 38px; width: auto; max-width: 100%; }
  .sh-actions    { order: 3; gap: 2px; flex-shrink: 0; margin-left: 8px; }

  /* Row 2: search full width */
  .sh-search {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    padding: 6px 0 10px;
    margin: 0;
  }

  /* Icons only — hide labels */
  .sh-action-label { display: none !important; }

  /* Reduce action button padding slightly */
  .sh-action-btn,
  .sh-action-btn > a,
  .sh-cart-toggle {
    padding: 0 5px;
    font-size: 20px;
  }

  /* Hide desktop nav bar, keep #site-nav in DOM for sidebar */
  #menu { display: none !important; }
  #site-nav { background: transparent; min-height: 0; }

}

@media (max-width: 375px) {
  .sh-logo img { max-height: 45px; }
  .digi-cat-mobile-grid .row > .col {
    flex: 0 0 100%;
    width: 100%;
  }
}

/* =========================================================
   CAROUSEL ARROWS & INDICATORS
   ========================================================= */
.carousel { border: none !important; box-shadow: none !important; }
.carousel-item .row { margin: 0; }
.carousel-item [class*="col-"] { padding: 0; }

.carousel .carousel-control-prev,
.carousel .carousel-control-next,
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  opacity: 1 !important;
  transition: background .2s;
}
.carousel .carousel-control-prev,
.carousel:hover .carousel-control-prev { left: 28px !important; }
.carousel .carousel-control-next,
.carousel:hover .carousel-control-next { right: 28px !important; }

.carousel-control-prev span,
.carousel-control-next span {
  font-size: 13px;
  color: #0f0f0f;
  width: auto;
  height: auto;
  text-shadow: none;
}
.carousel-control-prev:hover,
.carousel-control-next:hover { background: rgba(255,255,255,.85); }

/* Indicators (dots) */
.carousel-indicators {
  bottom: 14px;
  margin: 0;
  gap: 6px;
}
.carousel-indicators button,
.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  opacity: 0.5;
  transition: background .2s, transform .2s, opacity .2s;
  flex-shrink: 0;
}
.carousel-indicators button.active,
.carousel-indicators [data-bs-target].active {
  background: #dd0505;
  opacity: 1;
  transform: scale(1.25);
}

/* Container fluid: 90% din viewport, plafonat la 1440px pe ecrane mari */
@media (min-width: 1025px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    width: 90% !important;
    max-width: 1440px !important;
  }
}

@media (max-width: 1024px) {
  /* Container fara max-width, doar padding lateral */
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-fluid {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Full width — scoate padding-ul col (doar banner, nu digi categories) */
  #content > .carousel:not(.digi-categories-slider) {
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
    max-width: calc(100% + 24px);
  }
  /* Previne overflow lateral */
  #content > .carousel:not(.digi-categories-slider) .carousel-item img {
    width: 100%;
    max-width: 100%;
    display: block;
  }
  /* Previne scrollbar orizontal */
  #content {
    overflow-x: hidden;
  }
  /* Ascunde sagetile */
  .carousel-control-prev,
  .carousel-control-next { display: none !important; }

}

/* content */
#content, #column-left, #column-right {
  padding-bottom: 64px;
}

/* =========================================================
   HOMEPAGE HERO SLIDER — in container, sub navbar
   ========================================================= */
body.page-home { overflow-x: hidden; }

/* Sliderul sta in container, cu colturi rotunjite */
body.page-home #content > .carousel:not(.digi-categories-slider) {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0 0 12px 12px !important;
  overflow: hidden;
}

/* Inaltime moderata, proportionala cu containerul */
body.page-home #content > .carousel:not(.digi-categories-slider) .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

/* Fara spatiu deasupra sliderului */
body.page-home #common-home {
  padding-top: 0;
}
body.page-home #content > .carousel:not(.digi-categories-slider):first-child {
  margin-top: 0;
}

/* Spatiu sub hero inainte de restul continutului */
body.page-home #content > .carousel:not(.digi-categories-slider) + * {
  margin-top: 48px;
}

@media (max-width: 768px) {
  body.page-home #content > .carousel:not(.digi-categories-slider) .carousel-item img {
    height: 52vh;
    min-height: 300px;
    max-height: 480px;
    /* Unele bannere au bare negre incorporate (thumbnail 16:9 in cadru 1.6);
       un zoom usor le impinge in afara cadrului fara a micsora containerul */
    transform: scale(1.12);
    transform-origin: center center;
  }
}

/* =========================================================
   BANNER CAPTION — text sportiv inclinat peste slide
   ========================================================= */
.banner-slide { position: relative; }

.banner-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(1,21,47,.48) 0%, rgba(1,21,47,.22) 55%, rgba(1,21,47,.05) 100%);
}

body.page-home #content > .carousel .banner-caption {
  background: rgba(0, 0, 0, .45);
}

.banner-caption-inner {
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Titlu: STATEMENT — masiv, italic, banda rosie cu colturi taiate */
/* Titlu: STATEMENT sportiv — text alb masiv + bara rosie accent dedesubt */
.banner-caption-title {
  position: relative;
  margin: 0 0 26px;
  padding: 0 0 16px;
  font-size: clamp(30px, 5vw, 68px);
  font-weight: 900;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -.5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 3px 18px rgba(1,21,47,.55);
  text-wrap: balance;
}
.banner-caption-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 72px;
  height: 5px;
  background: #dd0505;
  border-radius: 2px;
}

/* Descriere: SUPORT — subtila, curata, fara fundal, doar text luminos */
.banner-caption-desc {
  margin: 0 0 30px;
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 400;
  font-style: normal;
  letter-spacing: .3px;
  line-height: 1.5;
  color: rgba(255,255,255,.94);
  text-shadow: 0 2px 12px rgba(1,21,47,.6);
  max-width: 560px;
}
.banner-caption-desc span { background: none; padding: 0; }

/* Buton: ACTIUNE — rosu CTA in tema */
.banner-caption-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #dd0505;
  color: #fff;
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 15px 34px;
  box-shadow: 0 10px 32px rgba(1,21,47,.3);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.banner-slide .banner-caption-btn:hover {
  background: #b00404;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(140,2,18,.45);
}
.banner-caption-btn i { font-size: .85em; transition: transform .2s; }
.banner-caption-btn:hover i { transform: translateX(3px); }

/* Ascuns implicit pe slide-urile inactive ca sa nu clipeasca la tranzitie */
.banner-caption-title,
.banner-caption-desc,
.banner-caption-btn {
  opacity: 0;
}
/* Intrare animata doar pe slide-ul activ */
.carousel-item.active .banner-caption-title,
.carousel-item.active .banner-caption-desc,
.carousel-item.active .banner-caption-btn {
  animation: bannerCaptionIn .65s cubic-bezier(.22,.9,.35,1) both;
}
.carousel-item.active .banner-caption-desc { animation-delay: .15s; }
.carousel-item.active .banner-caption-btn { animation-delay: .3s; }
@keyframes bannerCaptionIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


@media (max-width: 768px) {
  .banner-caption-inner { padding: 0 16px; }
  .banner-caption-desc { margin-bottom: 24px; }
  .banner-caption-title { margin-bottom: 20px; padding-bottom: 12px; line-height: 1.12; }
  .banner-caption-title::after { width: 56px; height: 4px; }
}
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}
@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
#alert .alert {
  margin-bottom: 15px;
}
#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}
#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}
#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}
#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}
#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}
#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}
#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}
#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}
/* default bootstrap changes */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #F00;
  font-weight: bold;
}
.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}
.nav-tabs {
  margin-bottom: 15px;
}
.form-check .form-check-input {
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}
/* =========================================================
   SITE FOOTER  (#site-footer)
   ========================================================= */
#site-footer {
  flex-shrink: 0;
  width: 100%;
}

/* Main columns area */
.sf-main {
  background: #0f0f0f;
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}

/* Brand column */
.sf-brand-logo {
  display: inline-block;
  margin-bottom: 14px;
}
.sf-brand-logo img {
  max-height: 44px;
  width: auto;
  display: block;
  /* logo alb indiferent de culorile originale */
  filter: brightness(0) invert(1);
}
.sf-brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1;
  margin-bottom: 14px;
}
.sf-brand-name span {
  color: #dd0505;
}
.sf-brand-tagline {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin: 0;
  max-width: 260px;
}

/* Column headings */
.sf-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
  padding-bottom: 0;
  border-bottom: none;
  position: relative;
  padding-left: 14px;
}
/* lamela rosie oblica inaintea titlului, ca plachetele din hero */
.sf-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 6px;
  background: #dd0505;
  clip-path: polygon(2px 0, 100% 0, calc(100% - 2px) 100%, 0 100%);
}

/* Link list */
.sf-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sf-links a {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color .15s, transform .15s;
  display: inline-block;
}
.sf-links a:hover {
  color: #fff;
  transform: translateX(4px);
}
/* Date comerciale — fara hover shift */
.sf-payment-icons {
  max-width: 65%;
  height: auto;
}

.sf-installment-stamp {
  background-color: #fff;
}

.sf-links--commercial li {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}
.sf-links--commercial a {
  padding-left: 0 !important;
}
.sf-com-label {
  color: rgba(255,255,255,.95);
  font-weight: 600;
}

/* Contact items cu iconita (adresa, email, telefon) */
.sf-brand-contact {
  margin-top: 14px;
}
.sf-contact-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}
.sf-contact-item > i {
  flex: 0 0 auto;
  width: 16px;
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}
.sf-contact-item a:hover {
  transform: none;
}

/* Bottom bar */
.sf-bottom {
  background: #01192e;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.sf-bottom-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sf-bottom-left {
  display: flex;
  flex-direction: column;
}
.sf-anpc {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 1;
  min-width: 0;
}
.sf-anpc-img {
  height: 40px;
  width: auto;
  max-width: 100%;
  display: block;
  flex-shrink: 1;
}
@media (max-width: 767px) {
  .sf-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .sf-bottom-left {
    align-items: center;
  }
  .sf-anpc {
    justify-content: center;
  }
  .sf-anpc a {
    flex: 1;
    max-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sf-anpc-img {
    height: auto;
    max-height: 40px;
    width: 100%;
    object-fit: contain;
  }
}
.sf-powered {
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  text-align: left;
}
.sf-powered a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s;
}
.sf-powered a:hover {
  color: #dd0505;
}
.sf-copyright {
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  text-align: left;
}

@media (max-width: 575px) {
  .sf-main { padding: 32px 0 28px; }
  .sf-heading { font-size: 11px; }
  .sf-links a { font-size: 13px; }
}

/* ---- Footer mobil: mai ordonat & lizibil (fara a afecta desktop) ---- */
@media (max-width: 767px) {
  .sf-main { padding: 36px 0 24px; }
  /* spatiere clara intre sectiunile stivuite */
  .sf-main .row { --bs-gutter-y: 0; }
  /* fiecare coloana pe randul ei (inclusiv Informatii / Suport) */
  .sf-main .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  .sf-main .row > [class*="col-"] {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  /* brandul ramane sus, fara linie deasupra */
  .sf-main .row > [class*="col-"]:first-child {
    border-top: none;
    padding-top: 0;
    text-align: center;
  }
  .sf-brand-tagline { max-width: 320px; margin-left: auto; margin-right: auto; }
  .sf-brand-logo img { margin-left: auto; margin-right: auto; }
  /* titluri mai aerisite */
  .sf-heading { margin-bottom: 12px; }
  /* linkuri cu zona de tap mai mare */
  .sf-links { gap: 10px; }
  .sf-links a { padding: 2px 0; }
  /* anuleaza shift-ul pe hover (nu are sens pe touch) */
  .sf-links a:hover { transform: none; }
  /* date comerciale mai lizibile */
  .sf-links--commercial li { line-height: 1.6; }
}

/* ===================== Category page ===================== */
#product-category {
  padding: 0 0 48px;
}

/* Breadcrumb */
.cat-breadcrumb {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}
.cat-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aaa;
}
.cat-breadcrumb li + li::before {
  content: '›';
  color: #ccc;
  font-size: 14px;
}
.cat-breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color .15s;
}
.cat-breadcrumb li:last-child {
  color: #0f0f0f;
  font-weight: 600;
}
.cat-breadcrumb a:hover {
  color: #dd0505;
}

/* ===== Unify default Bootstrap breadcrumb with the custom one (whole site) ===== */
.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  background: transparent;
}
.breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aaa;
}
.breadcrumb .breadcrumb-item + .breadcrumb-item { padding-left: 0; }
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: #ccc;
  font-size: 14px;
  padding: 0;
}
.breadcrumb .breadcrumb-item a {
  color: #666;
  text-decoration: none;
  transition: color .15s;
}
.breadcrumb .breadcrumb-item:last-child {
  color: #0f0f0f;
  font-weight: 600;
}
.breadcrumb .breadcrumb-item a:hover { color: #dd0505; }

/* Consistent breadcrumb spacing on mobile across the whole site */
@media (max-width: 767.98px) {
  .breadcrumb,
  .cat-breadcrumb { margin: 12px 0; font-size: 12px; }
}

/* Sidebar */
#column-left {
  padding-bottom: 0 !important;
}
.cat-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
#column-left .list-group {
  margin-bottom: 0;
}
#column-left .list-group-item {
  border: none;
  border-radius: 0 !important;
  font-size: 14px;
  font-weight: 400;
  color: #444;
  padding: 5px 0;
  background: transparent;
  transition: color .15s;
}
#column-left .list-group-item:hover {
  color: #dd0505;
  background: transparent;
}
#column-left .list-group-item.active {
  color: #dd0505;
  font-weight: 400;
  background: transparent;
}

/* Category intro */
.cat-intro {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.cat-intro-img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.cat-intro-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* Sub-categories */
.cat-subcategories {
  margin-bottom: 24px;
}
.cat-sub-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 12px;
}
.cat-sub-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #e8ecf0;
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  background: #fff;
  transition: border-color .15s, color .15s;
  min-height: 40px;
}
.cat-sub-item:hover {
  border-color: #dd0505;
  color: #dd0505;
}

/* Toolbar */
.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}
.cat-heading {
  font-size: 32px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0;
  line-height: 1.1;
}
.cat-heading-count {
  font-size: 18px;
  font-weight: 400;
  color: #aaa;
  margin-left: 6px;
}
.cat-toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-sort-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-sort-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  font-weight: 500;
}
.cat-select {
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  padding: 6px 32px 6px 12px;
  font-size: 13px;
  color: #1a1a1a;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23012a5e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  font-weight: 500;
}
.cat-select:focus {
  border-color: #dd0505;
  box-shadow: 0 0 0 3px rgba(175,3,22,.12);
}

/* Pagination */
.cat-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}
.cat-results {
  font-size: 12.5px;
  color: #999;
}
ul.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.pagination .page-item .page-link,
ul.pagination .page-item span.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #0f0f0f;
  background: #fff;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
ul.pagination .page-item .page-link:hover {
  background: #f5f7fa;
  border-color: #0f0f0f;
  color: #0f0f0f;
}
ul.pagination .page-item.active span.page-link {
  background: #dd0505;
  border-color: #dd0505;
  color: #fff;
  cursor: default;
}

/* Empty state */
.cat-empty {
  text-align: center;
  padding: 64px 20px;
  color: #aaa;
}
.cat-empty p {
  font-size: 15px;
  margin-bottom: 16px;
}
.btn-cat-continue {
  display: inline-block;
  padding: 10px 28px;
  background: #0f0f0f;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s;
}
.btn-cat-continue:hover {
  background: #dd0505;
  color: #fff;
}

/* Module product grid (featured, latest, special, bestseller) */
.product-grid-module {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
/* borduri unite intre carduri (fara dublare) */
.product-grid-module > div {
  margin-right: -1px;
  margin-bottom: -1px;
  min-width: 0;
}
.product-grid-module--vertical {
  grid-template-columns: 1fr;
}
@media (max-width: 1024px) {
  .product-grid-module {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .product-grid-module {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Category product grid: CSS grid cu gap uniform */
#product-category #product-list,
#product-related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding-left: 1px;
}
#product-category #product-list > .col,
#product-related-grid > .col {
  padding: 0;
  width: auto;
  margin: -1px 0 0 -1px;
}
@media (max-width: 767px) {
  #product-category #product-list,
#product-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 425px) {
  #product-category #product-list,
#product-related-grid { gap: 0; }
}

@media (max-width: 767px) {
  .cat-heading { font-size: 22px; }
  .cat-heading-count { font-size: 14px; }
  .cat-toolbar { flex-direction: column; align-items: flex-start; }
  .cat-toolbar-controls { width: 100%; }
  .cat-sort-group { width: 100%; justify-content: space-between; }
  .cat-select { flex: 1; }
}

/* ===== Mobile app-like layout & tighter spacing ===== */
@media (max-width: 767px) {
  #product-category { padding: 0 0 32px; }
  #product-info { padding: 0 0 40px; }
  .cat-breadcrumb,
  .breadcrumb { margin: 12px 0; font-size: 12px; }
  .cat-intro { margin-bottom: 14px; gap: 12px; }
  .cat-intro-img { width: 72px; }
  .cat-subcategories { margin-bottom: 14px; }
  .cat-sub-title { margin-bottom: 8px; }

  /* Heading tight to top */
  .cat-toolbar { gap: 10px; margin-bottom: 12px; }
  .cat-heading { font-size: 20px; }

  /* App-like action area: full-width filter button + 50/50 selects below */
  .cat-toolbar-controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }
  .cat-filter-btn {
    margin-top: 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: 13px;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    padding: 6px 12px;
    background: #fff;
    color: #0f0f0f;
  }
  .cat-filter-btn:hover { border-color: #0f0f0f; background: #fff; }
  .cat-sort-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }
  .cat-sort-row .cat-sort-group { flex: 1 1 50%; min-width: 0; }
  .cat-sort-row .cat-select { width: 100%; }
}


/* breadcrumb — old standalone styling removed; unified .breadcrumb / .cat-breadcrumb above applies site-wide */
/* ================================================================
   PRODUCT CARD - minimal premium, accente Montesport subtile
   Layout: imagine mare contain / brand / titlu / pret / actiuni
   ================================================================ */
.product-thumb {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  transition: box-shadow .2s ease;
}
.product-thumb:hover {
  box-shadow: 0 8px 24px rgba(15,15,15,.08);
  z-index: 2;
}

/* Imagine: intreaga, necropata, respiro uniform */
.product-thumb .image {
  position: relative;
}
.product-thumb .image a {
  display: block;
  padding: 16px;
}
.product-thumb .image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  display: block;
  transition: transform .3s ease;
}
.product-thumb:hover .image img {
  transform: none;
}
.pt-sale-badge {
  position: absolute;
  top: 12px;
  left: 0;
  z-index: 2;
  background: #dd0505;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1;
  padding: 5px 12px 6px 10px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

/* Continut */
.product-thumb .content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 16px 16px;
}
.product-thumb .description {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pt-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.pt-brand {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  color: #9aa3ad;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-stock-status {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1;
  color: #9aa3ad;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.product-stock-status .fa-circle,
.stock-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.product-stock-status.in-stock {
  color: #2e7d32;
}
.product-thumb .description h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #1d2733;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.product-thumb .description h4 a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
.product-thumb .description h4 a:hover {
  color: #dd0505;
}
.product-thumb .pt-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 10px;
  max-width: 100%;
}
.product-thumb .pt-attr-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .2px;
  color: #0f0f0f;
  background: #eef2f6;
  border: 1px solid #e0e6ec;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-thumb .rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}
.product-thumb .rating .fa-stack {
  width: 14px;
  height: 14px;
  line-height: 14px;
}
.product-thumb .rating .fa-star {
  font-size: 10px;
  color: #f5a623;
}
.product-thumb .rating .fa-regular.fa-star {
  color: #d6d6d6;
}
.rating-score {
  font-size: 11px;
  font-weight: 600;
  color: #555;
  margin-left: 3px;
}
.product-thumb .price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}
.product-thumb .price-new {
  font-size: 17px;
  font-weight: 700;
  color: #1d2733;
  letter-spacing: -.2px;
}
.product-thumb .price-new.has-special {
  color: #dd0505;
}
.product-thumb .price-old {
  font-size: 13px;
  color: #b0b7bf;
  text-decoration: line-through;
}

/* Actiuni: separator hairline, cos text-link + inima */
.pt-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.pt-cart-form {
  flex: 1;
  min-width: 0;
  display: flex;
}
.pt-wishlist-form {
  flex-shrink: 0;
  display: flex;
}
.btn-cart-main {
  width: 100%;
  height: 38px;
  background: transparent;
  color: #dd0505;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  transition: color .15s;
}
.btn-cart-main .fa-cart-plus {
  font-size: 14px;
  color: #dd0505;
  transition: transform .2s ease;
}
.btn-cart-main:hover {
  color: #b00404;
}
.btn-cart-main:hover .fa-cart-plus {
  color: #b00404;
}
.btn-cart-main:hover .fa-cart-plus {
  transform: translateX(2px);
}
.btn-cart-main.btn-cart-out {
  color: #999;
  cursor: not-allowed;
}
.btn-cart-main.btn-cart-out .fa-ban {
  font-size: 14px;
  color: #999;
}
.btn-cart-main.btn-cart-out:hover {
  color: #999;
}
.pt-wishlist-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #b0b7bf;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .15s;
}
.pt-wishlist-btn:hover {
  color: #dd0505;
}

/* Ecrane mici */
@media (max-width: 575px) {
  .product-thumb .image a {
    padding: 12px;
  }
  .product-thumb .content {
    padding: 0 12px 12px;
  }
  .pt-brand {
    font-size: 10px;
  }
  .product-thumb .description h4 {
    font-size: 13px;
    min-height: 37px;
    margin-bottom: 8px;
  }
  .product-thumb .price-new {
    font-size: 15.5px;
  }
  .product-thumb .price-old {
    font-size: 12px;
  }
  .pt-bottom {
    margin-top: 10px;
    padding-top: 10px;
  }
  .btn-cart-main {
    height: 34px;
    font-size: 14px;
    gap: 7px;
  }
  .pt-wishlist-btn {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .pt-sale-badge {
    font-size: 10px;
    padding: 4px 10px 5px 8px;
  }
}
@media (max-width: 425px) {
  .product-thumb .pt-attr-badge {
    font-size: 9px;
  }
}
/* ================================================================
   SUBCATEGORY CARDS (category page) — clickable, theme-consistent
   ================================================================ */
#product-category .cat-subcategories { margin: 0 0 20px; }
.cat-heading--standalone { margin: 0 0 18px; }

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.subcat-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: #0f0f0f;
  box-shadow: 0 1px 2px rgba(15,15,15,.04);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.subcat-card:hover {
  box-shadow: 0 10px 26px rgba(15,15,15,.12);
  border-color: #d4dce4;
}

.subcat-card-media {
  flex: 0 0 116px;
  width: 116px;
  position: relative;
  overflow: hidden;
  background: #f4f7fa;
}
.subcat-card-img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  object-position: center;
  display: block;
  transition: transform .35s ease;
  padding: 5px;
}
.subcat-card:hover .subcat-card-img { transform: scale(1.06); }

.subcat-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 14px 16px;
  min-width: 0;
}
.subcat-card-name {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #0f0f0f;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.subcat-card-count {
  font-size: 12px;
  font-weight: 600;
  color: #8a97a4;
}
.subcat-card-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #dd0505;
}
.subcat-card-cta i {
  font-size: 11px;
  transition: transform .18s ease;
}
.subcat-card:hover .subcat-card-cta i { transform: translateX(4px); }

@media (max-width: 1199px) {
  .subcat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .subcat-grid { grid-template-columns: 1fr; gap: 12px; }
  .subcat-card-media { flex-basis: 96px; width: 96px; }
  .subcat-card-name { font-size: 14.5px; }
}
@media (max-width: 374px) {
  .subcat-card-media { flex-basis: 84px; width: 84px; }
  .subcat-card-body { padding: 12px 13px; }
  .subcat-card-name { font-size: 13.5px; }
}

/* Hide sidebar category module list on category page so categories are not duplicated in filters */
#product-category #column-left .module-cat-list,
#product-category #column-left .module-cat-title { display: none; }

/* Compensate grid negative margin so first card border-left remains visible */
#product-category #product-list,
#product-related-grid { padding-left: 1px; }
/* foarte mici (<=375px): totul compactat ca sa nu iasa din card */
@media (max-width: 375px) {
  .product-thumb .image a {
    padding: 8px;
  }
  .product-thumb .content {
    padding: 0 9px 10px;
  }
  .pt-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .product-thumb .description h4 {
    font-size: 12px;
    min-height: 34px;
    margin-bottom: 6px;
  }
  .product-thumb .price {
    gap: 6px;
    flex-wrap: wrap;
  }
  .product-thumb .price-new {
    font-size: 14.5px;
  }
  .product-thumb .price-old {
    font-size: 11.5px;
  }
  .btn-cart-main {
    height: 32px;
    font-size: 13px;
    gap: 5px;
  }
  .btn-cart-main .fa-cart-plus {
    font-size: 12px;
  }
  .pt-wishlist-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
@media (max-width: 345px) {
  .product-thumb .pt-wishlist-form {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
  }
  .product-thumb .pt-bottom {
    gap: 0;
  }
  .product-thumb .pt-cart-form {
    flex: 1 1 100%;
  }
}
/* ================================================================
   CART PAGE
   ================================================================ */
/* ================================================================
   DIGI BENEFITS - banda full-width cu beneficii (transport, garantie...)
   ================================================================ */
.digi-benefits {
  /* breakout pe toata latimea viewportului chiar daca e plasat in container */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #0f0f0f;
  padding: 26px 0;
  margin-top: 48px;
}
/* cand banda e ultimul element din continut, se lipeste de footer */
#content:has(.digi-benefits:last-child) {
  padding-bottom: 0 !important;
}
.digi-benefits-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}
.digi-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.digi-benefit-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dd0505;
  color: #fff;
  font-size: 19px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.digi-benefit-text {
  min-width: 0;
}
.digi-benefit-title {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #fff;
  line-height: 1.3;
}
.digi-benefit-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .digi-benefits {
    padding: 20px 0;
    margin-top: 32px;
  }
  .digi-benefits-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .digi-benefit {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
  }
  .digi-benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .digi-benefit-title {
    font-size: 12px;
  }
  .digi-benefit-desc {
    font-size: 11.5px;
  }
}

#checkout-cart {
  padding: 0 0 64px;
}

/* Header */
.cart-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}
.cart-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0;
}
.cart-weight {
  font-size: 14px;
  font-weight: 400;
  color: #888;
}
.cart-count {
  font-size: 13px;
  color: #888;
  background: #f0f2f5;
  border-radius: 20px;
  padding: 3px 10px;
}

/* Layout: produse + sumar */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 991px) {
  .cart-layout { grid-template-columns: 1fr; }
}

/* ── Produs item ── */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr 120px 90px 100px 36px;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 16px;
  transition: box-shadow .2s;
}
.cart-item:hover { box-shadow: 0 4px 18px rgba(15,15,15,.07); }
.cart-item--no-stock { border-color: #f5c6cb; background: #fff8f8; }

@media (max-width: 767px) {
  .cart-item {
    grid-template-columns: 72px 1fr 1fr 36px;
    grid-template-rows: auto auto auto;
    gap: 8px;
  }
  .cart-item-img    { grid-row: 1; grid-column: 1; }
  .cart-item-info   { grid-row: 1; grid-column: 2 / span 2; }
  .cart-item-remove { grid-row: 1; grid-column: 4; align-self: start; }
  .cart-item-qty    { grid-row: 2; grid-column: 1 / span 4; }
  .cart-item-price  { grid-row: 3; grid-column: 1 / span 2; text-align: left !important; }
  .cart-item-total  { grid-row: 3; grid-column: 3 / span 2; text-align: right; }
  .cart-item-price .cart-price-label { text-align: left !important; }
  .cart-item-price .cart-price-val   { text-align: left !important; display: block; }
}

/* Imagine */
.cart-item-img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background: #f9f9f9;
  border: 1px solid #eee;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
@media (max-width: 767px) {
  .cart-item-img { width: 72px; height: 72px; }
}

/* Info */
.cart-item-info { min-width: 0; }
.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f0f0f;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}
.cart-item-name:hover { color: #dd0505; }
.cart-out-of-stock { color: #dc3545; font-size: 12px; }
.cart-item-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-item-meta li {
  font-size: 12px;
  color: #888;
}

/* Cantitate */
.cart-qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  overflow: hidden;
  width: 110px;
}
.cart-qty-input {
  width: 48px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  color: #0f0f0f;
  padding: 7px 4px;
  background: #fff;
}
.cart-qty-input.is-invalid { border-bottom: 2px solid #dc3545; }
.cart-qty-update {
  flex: 1;
  border: none;
  background: #f5f7fa;
  color: #0f0f0f;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.cart-qty-update:hover { background: #dd0505; color: #fff; }
.cart-qty-error { font-size: 11px; color: #dc3545; margin-top: 4px; }

/* Preturi */
.cart-item-price,
.cart-item-total {
  text-align: right;
}
.cart-price-label {
  display: block;
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 3px;
}
.cart-price-val {
  font-size: 14px;
  font-weight: 600;
  color: #0f0f0f;
}
.cart-price-val--total {
  font-size: 16px;
  color: #dd0505;
}
.cart-price-val--old {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  display: block;
}
.cart-price-val--special {
  font-size: 15px;
  font-weight: 600;
  color: #dd0505;
  display: block;
}

/* Buton stergere */
.cart-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #aaa;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  font-size: 14px;
}
.cart-remove-btn:hover { background: #dc3545; color: #fff; border-color: #dc3545; }

/* ── Sumar ── */
.cart-summary-inner {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 24px;
  position: sticky;
  top: 90px;
}
.cart-summary-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f2f5;
}
.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #555;
}
.cart-total-row--final {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 2px solid #f0f2f5;
  font-size: 17px;
  font-weight: 700;
  color: #0f0f0f;
}
.cart-total-row--final .cart-total-val { color: #dd0505; }

/* Module (cupon, puncte) */
.cart-modules { margin-bottom: 20px; }
.cart-modules-intro {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

/* Coupon module */
.coupon-module {
  border: 1px solid #e0e4e8;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}
.coupon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: #f5f7fa;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #0f0f0f;
  transition: background .15s;
}
.coupon-toggle:hover { background: #edf0f4; }
.coupon-toggle-icon {
  font-size: 12px;
  color: #888;
  transition: transform .25s;
}
.coupon-module.is-open .coupon-toggle-icon { transform: rotate(180deg); }
.coupon-body {
  display: none;
  padding: 16px 18px;
}
.coupon-module.is-open .coupon-body { display: block; }
.coupon-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}
.coupon-row {
  display: flex;
  gap: 8px;
}
.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #d5dae0;
  border-radius: 8px;
  font-size: 14px;
  color: #0f0f0f;
  outline: none;
  transition: border-color .15s;
}
.coupon-input:focus { border-color: #dd0505; }
.coupon-btn-apply {
  padding: 10px 18px;
  background: #dd0505;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.coupon-btn-apply:hover { background: #b00404; }
.coupon-remove-wrap { margin-top: 10px; text-align: right; }
.coupon-btn-remove {
  background: none;
  border: none;
  color: #c0392b;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.coupon-btn-remove:hover { color: #a93226; }

/* Butoane sumar */
.cart-btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: #dd0505;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: 10px;
}
.cart-btn-checkout:hover { background: #b00404; }
.cart-btn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  background: #f5f7fa;
  color: #0f0f0f !important;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #e0e4e8;
  transition: background .15s, border-color .15s;
}
.cart-btn-continue:hover { background: #edf0f4; border-color: #c8cdd4; }

/* Cos gol */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty-icon {
  font-size: 64px;
  color: #e0e4e8;
  margin-bottom: 24px;
}
.cart-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f0f0f;
  margin-bottom: 12px;
}
.cart-empty-text {
  font-size: 15px;
  color: #888;
  margin-bottom: 28px;
}
.cart-empty .cart-btn-checkout {
  display: inline-flex;
  width: auto;
  padding: 12px 32px;
}

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */

/* Validare câmpuri — asigură vizibilitatea erorii */
.is-invalid ~ .invalid-feedback,
.is-invalid + .invalid-feedback {
  display: block !important;
  color: #d9534f;
  font-size: 12px;
  margin-top: 4px;
}
.is-invalid.form-control,
.is-invalid.form-select {
  border-color: #d9534f !important;
  box-shadow: 0 0 0 3px rgba(217,83,79,.15) !important;
}

/* Layout: 2 coloane — stânga pași, dreapta sumar sticky */
#checkout-checkout { padding: 0 0 60px; }

/* Toate link-urile din checkout = rosu brand */
#checkout-checkout a { color: #dd0505; }
#checkout-checkout a:hover { color: #b00404; }
#checkout-checkout .cat-breadcrumb a { color: #6b7785; }
#checkout-checkout .cat-breadcrumb a:hover { color: #0f0f0f; }

/* Checkbox-uri stil register (newsletter, accept termeni/politica) */
#checkout-checkout .co-checks {
  display: flex; flex-direction: column; gap: 12px; margin: 6px 0 4px;
}
#checkout-checkout .co-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: #4a5663; line-height: 1.45; cursor: pointer; margin: 0;
}
#checkout-checkout .co-check input[type="checkbox"] {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: #dd0505; cursor: pointer;
}
#checkout-checkout .co-check a { color: #dd0505; font-weight: 600; text-decoration: none; }
#checkout-checkout .co-check a:hover { text-decoration: underline; }
.co-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  padding-bottom: 0;
}
@media (max-width: 991px) {
  .co-layout { grid-template-columns: 1fr; }
}

/* Card generic pentru fiecare pas */
.co-card {
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 0;
  margin-bottom: 16px;
  overflow: hidden;
}
.co-card-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 20px;
  background: #fff;
  border-bottom: 1px solid #eceff3;
}
.co-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dd0505;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.co-card-icon {
  font-size: 15px;
  color: #dd0505;
  width: 26px;
  text-align: center;
}
.co-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0;
}
.co-card-body {
  padding: 20px;
}

/* Fieldset / legend reset inside cards */
.co-card-body fieldset { border: none; padding: 0; margin: 0; }
.co-card-body legend { display: none; }

/* Form fields */
.co-card-body .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
  margin-bottom: 6px;
}
.co-card-body .form-control,
.co-card-body .form-select {
  border-radius: 0;
  border: 1.5px solid #d8dee6;
  font-size: 14px;
  color: #0f0f0f;
  padding: 11px 13px;
  transition: border-color .15s, box-shadow .15s;
}
.co-card-body .form-control:focus,
.co-card-body .form-select:focus {
  border-color: #dd0505;
  box-shadow: 0 0 0 .15rem rgba(175,3,22,.12);
}
.co-card-body .form-control::placeholder { color: #aab4bf; }

/* Radio / checkbox */
.co-card-body .form-check-input:checked {
  background-color: #dd0505;
  border-color: #dd0505;
}
.co-card-body .form-check-label { font-size: 14px; }

/* Register account-type toggle */
.co-account-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.co-account-opt {
  flex: 1;
  border: 1.5px solid #d8dee6;
  border-radius: 0;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0f0f0f;
}
.co-account-opt input { display: none; }
.co-account-opt.is-active {
  border-color: #dd0505;
  background: #fdeaec;
}
.co-account-opt-icon { font-size: 18px; color: #dd0505; }

/* Submit button inside forms */
.co-card-body .btn-primary,
.co-btn-save {
  padding: 12px 28px;
  background: #dd0505;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  margin-top: 8px;
}
.co-card-body .btn-primary:hover,
.co-btn-save:hover { background: #b00404; }

/* Choose shipping/payment button */
.co-card-body .input-group .btn-primary {
  background: #dd0505;
  border-color: #dd0505;
  border-radius: 0;
  margin-top: 0;
  padding: 11px 18px;
}
.co-card-body .input-group .btn-primary:hover { background: #b00404; }
.co-card-body .input-group .form-control {
  border-radius: 0;
}
.co-card-body .input-group-text {
  background: #f5f7fa;
  border: 1.5px solid #d8dee6;
  color: #6b7785;
}

/* Comments textarea */
.co-card-body textarea.form-control { resize: vertical; min-height: 90px; }

/* Agree switch */
.co-card-body .form-switch .form-check-input { cursor: pointer; }

/* ── Sumar comandă (dreapta) ── */
.co-summary-inner {
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 0;
  overflow: hidden;
  position: sticky;
  top: 90px;
  padding: 22px;
}
.co-summary-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0 0 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #eceff3;
}

/* Produse în sumar */
.co-confirm-products {
  padding: 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.co-confirm-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f5;
}
.co-confirm-item:last-child { border-bottom: none; }
.co-confirm-item-qty {
  font-size: 13px;
  font-weight: 700;
  color: #dd0505;
  padding-top: 2px;
}
.co-confirm-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}
.co-confirm-item-name:hover { color: #dd0505; }
.co-confirm-item-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  color: #999;
}
.co-confirm-item-meta li::before { content: '— '; }
.co-confirm-item-total {
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
  white-space: nowrap;
  padding-top: 2px;
}

/* Totaluri sumar */
.co-confirm-totals {
  padding: 12px 0 6px;
  border-top: 1px solid #e8e8e8;
  margin-top: 4px;
}
.co-confirm-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  padding: 4px 0;
}
.co-confirm-total-row--final {
  font-size: 16px;
  font-weight: 700;
  color: #0f0f0f;
  border-top: 1px solid #e8edf2;
  margin-top: 6px;
  padding-top: 10px;
}
.co-confirm-total-row--final span:last-child { color: #dd0505; }

/* Buton confirmare */
.co-btn-confirm {
  display: block;
  width: calc(100% - 40px);
  margin: 14px 20px 18px;
  padding: 14px 20px;
  background: #dd0505;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background .15s;
  text-decoration: none;
}
.co-btn-confirm:hover { background: #b00404; color: #fff; }
.co-btn-confirm:disabled { background: #ccc; cursor: not-allowed; }

/* Buton persistent "Confirmă comanda" */
.co-btn-place-order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background: #dd0505;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background .15s;
  margin-top: 16px;
}
.co-btn-place-order:hover { background: #b00404; }
.co-btn-place-order:disabled { background: #ccc; cursor: not-allowed; }
.co-btn-place-order i { margin-right: 7px; }
.co-processing-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  z-index: 20;
  border-radius: inherit;
}
.co-processing-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.co-processing-box i {
  font-size: 32px;
  color: #a30115;
}

/* Payment form inside #checkout-payment */
#checkout-payment .co-btn-confirm,
#checkout-payment .btn-primary {
  display: block;
  width: calc(100% - 40px);
  margin: 14px 20px 18px;
  padding: 14px 20px;
  background: #dd0505;
  color: #fff !important;
  border: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background .15s;
}
#checkout-payment .btn-primary:hover { background: #b00404; }

/* ================================================================
   CHECKOUT — INLINE METHOD CARDS
   ================================================================ */

/* Loading spinner */
.co-methods-loading {
  padding: 16px 0;
  color: #888;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Inline error */
.co-inline-error {
  display: none;
  color: #d9534f;
  font-size: 13px;
  margin-top: 8px;
  padding: 8px 12px;
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  border-radius: 0;
}
.co-inline-error i { margin-right: 4px; }

/* Pending / info message (address not set yet) */
.co-methods-pending {
  padding: 10px 14px;
  font-size: 13px;
  color: #956000;
  background: #fff8ed;
  border: 1px solid #ffe0a3;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Method card */
.co-method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid #d8dee6;
  border-radius: 0;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: #fff;
}
.co-method-card:last-child { margin-bottom: 0; }
.co-method-card:hover { border-color: #dd0505; }
.co-method-card.is-selected {
  border-color: #dd0505;
  background: #fff;
}
/* Hide native radio */
.co-method-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
/* Custom radio dot */
.co-method-radio {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
}
.co-method-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dd0505;
  transform: scale(0);
  transition: transform .15s;
}
.co-method-card.is-selected .co-method-radio {
  border-color: #dd0505;
}
.co-method-card.is-selected .co-method-radio::after {
  transform: scale(1);
}
.co-method-label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #0f0f0f;
}
.co-method-price {
  font-size: 14px;
  font-weight: 600;
  color: #dd0505;
}

/* Comment block */
.co-comment-block {
  margin-top: 20px;
}
.co-comment-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
  margin-bottom: 6px;
}
.co-comment-input {
  width: 100%;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  resize: vertical;
  transition: border-color .15s;
  font-family: inherit;
}
.co-comment-input:focus {
  outline: none;
  border-color: #dd0505;
  box-shadow: 0 0 0 3px rgba(175,3,22,.12);
}

/* Agree block */
.co-agree-block {
  margin-top: 16px;
}
.co-agree-block.co-agree-invalid {
  padding: 10px 12px;
  border: 1px solid #dc3545;
  border-radius: 6px;
  background: #fdf2f3;
}
.co-agree-block .co-agree-error {
  margin-top: 8px;
  font-size: 13px;
  color: #dc3545;
}
.co-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}
.co-agree-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.co-agree-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 0;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: border-color .15s, background .15s;
}
.co-agree-check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .15s;
  margin-top: -2px;
}
.co-agree-label input[type="checkbox"]:checked ~ .co-agree-check {
  background: #dd0505;
  border-color: #dd0505;
}
.co-agree-label input[type="checkbox"]:checked ~ .co-agree-check::after {
  transform: rotate(-45deg) scale(1);
}
.co-agree-text a,
#modal-information .modal-body a { color: #dd0505; text-decoration: underline; }

/* ================================================================
   PRODUCT INFO PAGE
   ================================================================ */
#product-info {
  padding: 0 0 56px;
}

/* Layout: 2 coloane */
.pi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

/* ── Galerie ── */
.pi-gallery { position: sticky; top: 90px; }
.pi-main-img {
  border: 1px solid #e7ebf0;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.pi-main-link {
  position: relative;
  display: block;
  width: 100%;
  cursor: zoom-in;
  overflow: hidden;
}
.pi-zoom-frame {
  display: block;
  width: 100%;
  overflow: hidden;
}
.pi-main-img-el {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 24px;
  transition: transform .25s ease, opacity .2s ease;
  transform: scale(1);
}
.pi-main-link.is-zoomed .pi-main-img-el {
  transform: scale(2);
  transition: transform .08s ease-out;
}
/* Indicator zoom (lupa) */
.pi-zoom-hint {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,15,15,.85);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s, transform .18s;
  pointer-events: none;
}
.pi-main-img:hover .pi-zoom-hint { opacity: 1; transform: translateY(0); }
.pi-main-link.is-zoomed .pi-zoom-hint { opacity: 0; }

.pi-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pi-thumbs a {
  display: block;
  border: 1.5px solid #e7ebf0;
  border-radius: 0;
  overflow: hidden;
  width: 72px;
  height: 72px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
}
.pi-thumbs a:hover { border-color: #c9ced6; }
.pi-thumbs a.active { border-color: #dd0505; }
.pi-thumb-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

/* ── Info ── */
.pi-title {
  font-size: 26px;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.3;
  margin: 0 0 10px;
}
.pi-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pi-rating .fa-solid.fa-star,
.pi-rating .fa-solid.fa-star-half-stroke { color: #f5a623; font-size: 13px; }
.pi-rating .fa-regular.fa-star { color: #ddd; font-size: 13px; }
.pi-rating-link { color: #0f0f0f; font-size: 13px; text-decoration: underline; }
.pi-rating-link:hover { color: #dd0505; }
.pi-rating-sep { color: #ccc; }

.pi-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
}
.pi-meta-item { font-size: 13px; color: #666; }
.pi-meta-label { color: #aaa; }
.pi-meta-val { color: #333; font-weight: 500; }
.pi-meta-val a { color: #0f0f0f; text-decoration: none; }
.pi-meta-val a:hover { color: #dd0505; }

.pi-divider {
  border-top: 1px solid #f0f0f0;
  margin: 16px 0;
}

/* Pret */
.pi-price-block { margin-bottom: 12px; }
.pi-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.pi-price-new {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #dd0505;
  line-height: 1.1;
}
.pi-price-old {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}
.pi-price-badge {
  background: #dd0505;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
.pi-price-tax {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-top: 3px;
}
.pi-price-points {
  display: block;
  font-size: 12px;
  color: #888;
}
.pi-discounts {
  background: #f7f9fb;
  border: 1px solid #e7ebf0;
  border-radius: 0;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.pi-discount-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  padding: 3px 0;
  border-bottom: 1px solid #eee;
}
.pi-discount-row:last-child { border-bottom: none; }

/* Stock */
.pi-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.pi-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.pi-stock--in { color: #2e7d32; }
.pi-stock--out { color: #c62828; }

/* Options */
.pi-options { margin-bottom: 12px; }
.pi-option-group { margin-bottom: 16px; }
.pi-option-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
  margin-bottom: 6px;
}
.pi-select {
  width: 100%;
  border: 1.5px solid #d8dee6;
  border-radius: 0;
  padding: 11px 36px 11px 13px;
  font-size: 14px;
  color: #0f0f0f;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23012a5e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.pi-select:focus { border-color: #dd0505; box-shadow: 0 0 0 .15rem rgba(175,3,22,.12); }
.pi-input {
  width: 100%;
  border: 1.5px solid #d8dee6;
  border-radius: 0;
  padding: 11px 13px;
  font-size: 14px;
  color: #0f0f0f;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.pi-input:focus { border-color: #dd0505; box-shadow: 0 0 0 .15rem rgba(175,3,22,.12); }
.pi-radio-group, .pi-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pi-radio-item, .pi-check-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 14px;
  border: 1.5px solid #d8dee6;
  border-radius: 0;
  transition: border-color .15s;
}
.pi-radio-item:hover, .pi-check-item:hover { border-color: #dd0505; }
.pi-opt-img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }
.pi-error { font-size: 12px; color: #c62828; margin-top: 4px; }
.pi-sub-desc { font-size: 13px; color: #666; margin-top: 6px; }

/* Cart row */
.pi-cart-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.pi-qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #d8dee6;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.pi-qty-btn {
  width: 36px;
  height: 44px;
  background: #f7f7f7;
  border: none;
  font-size: 18px;
  color: #0f0f0f;
  cursor: pointer;
  transition: background .15s;
  line-height: 1;
}
.pi-qty-btn:hover { background: #ececec; }
.pi-qty-input {
  width: 52px;
  height: 44px;
  border: none;
  border-left: 1px solid #e0e4e8;
  border-right: 1px solid #e0e4e8;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #0f0f0f;
  outline: none;
}
.pi-btn-cart {
  flex: 1;
  height: 46px;
  background: #dd0505;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s;
}
.pi-btn-cart:hover { background: #b00404; }
.pi-btn-cart:disabled { opacity: .6; cursor: not-allowed; }
.pi-btn-cart-out {
  background: #b9b9b9;
  cursor: not-allowed;
}
.pi-btn-cart-out:hover { background: #b9b9b9; }
.pi-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(221,5,5,.25);
  border-top-color: #dd0505;
  border-radius: 50%;
  animation: pi-spin .6s linear infinite;
  vertical-align: -2px;
}
@keyframes pi-spin { to { transform: rotate(360deg); } }
.pi-min-notice {
  font-size: 13px;
  color: #e67e00;
  background: #fff8ee;
  border: 1px solid #f5d6a0;
  border-radius: 0;
  padding: 8px 12px;
  margin-bottom: 10px;
}

/* Actions (wishlist, compare) */
.pi-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.pi-action-btn {
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7785 !important;
  background: none !important;
  border: 1.5px solid #d8dee6;
  border-radius: 0;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.pi-action-btn:hover { border-color: #dd0505; color: #dd0505 !important; }
.pi-action-btn:focus,
.pi-action-btn:active,
.pi-action-btn:disabled,
.pi-action-btn[disabled] { color: #555 !important; outline: none; }
@media (max-width: 425px) {
  .pi-actions { flex-direction: column; }
  .pi-action-btn { flex: 1 1 100%; width: 100%; }
}
.pi-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #0f0f0f;
  background: #f5f7fa;
  border: 1.5px solid #d8dee6;
  border-radius: 0;
  padding: 9px 14px;
  cursor: pointer;
  transition: background .15s;
}
.pi-btn-secondary:hover { background: #eaeef4; }
.pi-reward {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pi-reward .fa-gift { color: #dd0505; }

/* ── Tabs ── */
.pi-tabs-section { margin-bottom: 40px; }
.pi-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 24px;
}
.pi-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.pi-tab-btn.active { color: #0f0f0f; border-bottom-color: #dd0505; }
.pi-tab-btn:hover { color: #0f0f0f; }
.pi-tab-pane { display: none; }
.pi-tab-pane.active { display: block; }

.pi-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.pi-tags-label { font-size: 13px; color: #999; margin-right: 4px; }
.pi-tag {
  font-size: 12px;
  background: #f5f7fa;
  border: 1px solid #d8dee6;
  border-radius: 0;
  padding: 4px 11px;
  color: #6b7785;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.pi-tag:hover { border-color: #dd0505; color: #dd0505; }

/* Specificatii */
.pi-spec-table {
  border: 1px solid #e7ebf0;
  border-radius: 0;
  overflow: hidden;
}
.pi-spec-group {
  background: #f5f7fa;
  font-size: 13px;
  font-weight: 700;
  color: #0f0f0f;
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pi-spec-row {
  display: flex;
  padding: 10px 16px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}
.pi-spec-row:last-child { border-bottom: none; }
.pi-spec-name { flex: 0 0 40%; color: #666; font-weight: 500; }
.pi-spec-val { flex: 1; color: #1a1a1a; }

/* Mobile */
@media (max-width: 767px) {
  .pi-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pi-gallery { position: static; top: auto; }
  .pi-title { font-size: 20px; }
  .pi-price-new { font-size: 26px; }
  .pi-tab-btn { padding: 10px 14px; font-size: 14px; }
  .pi-spec-name { flex: 0 0 50%; }
}

/* Product list view */
@media (min-width: 960px) {
  .product-list .product-thumb {
    flex-direction: row;
  }
  .product-list .product-thumb .image {
    width: 220px;
    flex-shrink: 0;
  }
  .product-list .product-thumb .image img {
    aspect-ratio: auto;
    height: 100%;
    padding: 16px;
  }
  .product-list .product-thumb .content {
    flex: 1;
    border-left: 1px solid #e8e8e8;
  }
  .product-list .product-thumb .button {
    border-left: none;
    width: auto;
    margin-left: 0;
  }
}
.rating .fa-stack {
  width: 20px;
}
.rating .fa-star {
  color: #999;
  font-size: 15px;
}
.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}
.rating .fa-star + .fa-star {
  color: #E69500;
}
/* product list */
.price {
  color: #444;
}
.price-new {
  font-weight: 600;
}
.price-old {
  color: #dc512c;
  text-decoration: line-through;
}
.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}
/* blog */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}
.blog-thumb h4 {
  font-weight: bold;
}
.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}
.blog-thumb .image a:hover {
  opacity: 0.8;
}
.blog-thumb .description {
  padding: 15px;
}
/* Theme Custom CSS */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}
#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}

/* Digi Categories: desktop vs mobile visibility */
.digi-mobile-only { display: none; }
.digi-desktop-only { display: block; }

@media (max-width: 1024px) {
  .digi-desktop-only { display: none !important; }
  .digi-mobile-only  { display: block !important; }
}
.digi-cat-card-slider { height: 200px !important; min-height: 200px !important; display: block !important; background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
/* Compenseaza marginile negative ale row g-3 care sunt taiate de overflow:hidden al carousel-inner */
.digi-categories-slider .carousel-inner {
  overflow: visible;
}
.digi-categories-slider {
  overflow: hidden;
}
.digi-categories-slider .carousel-item {
  padding: 0;
}
/* Elimina padding exterior stanga/dreapta ca imaginile sa ajunga la marginile containerului */
.digi-categories-slider .carousel-item .row > .col:first-child { padding-left: 0; }
.digi-categories-slider .carousel-item .row > .col:last-child  { padding-right: 0; }

/* ================================================================
   DIGI CATEGORIES — carduri sportive, limbaj vizual hero
   ================================================================ */
.digi-cat-card {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  border-radius: 0;
  text-decoration: none;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  background: #0f0f0f;
}
.digi-cat-card--sm { height: 190px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }

.digi-cat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.7) brightness(.94);
  transition: transform .4s ease, filter .4s ease;
  will-change: transform;
}
.digi-cat-card:hover .digi-cat-card-img {
  transform: scale(1.03);
  filter: saturate(1) brightness(1);
}

/* Voal navy pentru ton unitar intre imagini diferite */
.digi-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,15,15,.38), rgba(1,21,47,.12) 55%, rgba(1,21,47,.45));
  z-index: 1;
}

.digi-cat-card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  padding: 0;
  background: none;
  color: #fff;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.digi-cat-card--sm .digi-cat-card-overlay { bottom: 14px; }

/* Numele: placheta rosie taiata diagonal — replica benzii din hero,
   iese din marginea stanga a cardului ca un lower-third TV */
.digi-cat-card-name {
  font-size: 16.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  line-height: 1.15;
  position: relative;
  display: inline-block;
  background: #dd0505;
  color: #fff;
  padding: 9px 22px 10px 24px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background .25s ease;
  max-width: calc(100% - 24px);
}
.digi-cat-card:hover .digi-cat-card-name {
  background: #b00404;
}

/* Numarul de produse: lamela navy sub placheta, decalata — efect de strat */
.digi-cat-card-count {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  background: rgba(1,21,47,.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 5px 16px 5px 24px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

.digi-cat-card--sm .digi-cat-card-name { font-size: 13.5px; padding: 7px 16px 8px 18px; }
.digi-cat-card--sm .digi-cat-card-count { font-size: 10.5px; padding: 4px 12px 4px 18px; }

/* ================================================================
   CHECKOUT SUCCESS PAGE  (#checkout-success)
   ================================================================ */
#checkout-success {
  padding: 0 0 72px;
}

.cos-wrap {
  max-width: 580px;
  margin: 0 auto;
}

/* Card propriu — similar cu co-card dar cu shadow discret */
.cos-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15,15,15,.06);
}

/* Top section — icon + title, centered */
.cos-success-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 22px;
  border-bottom: 1px solid #f0f2f5;
  text-align: center;
}
.cos-icon-wrap { line-height: 0; }
.cos-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0;
}

/* Body area */
.cos-body {
  padding: 22px;
}

/* SVG checkmark animation */
.cos-checkmark {
  width: 60px;
  height: 60px;
}
.cos-checkmark__circle {
  stroke: #27ae60;
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-miterlimit: 10;
  fill: #edfaf3;
  animation: cos-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.cos-checkmark__check {
  transform-origin: 50% 50%;
  stroke: #27ae60;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: cos-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}
@keyframes cos-stroke {
  100% { stroke-dashoffset: 0; }
}

/* Message box */
.cos-message {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  background: #f7f9fc;
  border: 1px solid #eef1f5;
  border-radius: 0;
  padding: 14px 18px;
}
.cos-message p { margin: 0 0 8px; }
.cos-message p:last-child { margin: 0; }
.cos-message a {
  color: #dd0505;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.cos-message a:hover { color: #b00404; text-decoration: underline; }

/* Actions row */
.cos-actions {
  padding: 16px 22px 22px;
  display: flex;
  justify-content: center;
  border-top: 1px solid #f0f2f5;
}
.cos-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  background: #dd0505;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 0;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.cos-btn-primary:hover { background: #b00404; }

@media (max-width: 600px) {
  .cos-btn-primary { width: 100%; }
}

/* -- Filter sidebar --------------------------------------------------- */
.pi-filter-groups {
  margin-top: 4px;
}
.pi-filter-group {
  margin-bottom: 12px;
}
.pi-filter-group-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.pi-filter-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
}
.pi-filter-check {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color .15s, background .15s;
}
.pi-filter-check:checked {
  background: #dd0505;
  border-color: #dd0505;
}
.pi-filter-check:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.pi-filter-check:hover {
  border-color: #dd0505;
}
.pi-filter-label {
  font-size: 14px;
  color: #444;
  cursor: pointer;
  transition: color .15s;
  margin: 0;
}
.pi-filter-item:hover .pi-filter-label {
  color: #dd0505;
}
/* Filtru indisponibil (faceting) */
.pi-filter-disabled {
  opacity: .4;
  pointer-events: none;
}
.pi-filter-disabled .pi-filter-label {
  text-decoration: line-through;
  color: #999;
}
.pi-filter-disabled:hover .pi-filter-label {
  color: #999;
}
.pi-filter-disabled .pi-filter-check {
  cursor: not-allowed;
  border-color: #ddd;
  background: #f5f5f5;
}
/* Stare „0 produse cu filtrele setate" */
.cat-empty-filtered {
  text-align: center;
  padding: 48px 20px;
}
.cat-empty-filtered i {
  font-size: 42px;
  color: #c9ccd1;
  margin-bottom: 14px;
}
.cat-empty-filtered p {
  font-size: 16px;
  color: #555;
  margin-bottom: 18px;
}
.pi-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.pi-filter-header .cat-sidebar-title {
  border-bottom: none;
  padding-bottom: 0;
}
.pi-clear-filters {
  font-size: 12px;
  color: #dd0505;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.pi-clear-filters:hover {
  text-decoration: underline;
}

/* =========================================================
   COS + FINALIZARE COMANDA: colturi drepte
   ========================================================= */
/* Coș: tot ce nu e cerc devine drept */
#checkout-cart .cart-item,
#checkout-cart .cart-item-img,
#checkout-cart .cart-item-img img,
#checkout-cart .cart-qty-wrap,
#checkout-cart .cart-qty-input,
#checkout-cart .cart-qty-update,
#checkout-cart .cart-summary,
#checkout-cart .coupon-input,
#checkout-cart .coupon-btn-apply,
#checkout-cart .cart-btn-checkout,
#checkout-cart .cart-btn-continue,
#checkout-cart .form-control,
#checkout-cart .btn,
#checkout-cart .input-group,
#checkout-cart .input-group > *,
#shopping-cart .form-control,
#shopping-cart .btn {
  border-radius: 0 !important;
}
/* Finalizare comanda: tot ce nu e cerc devine drept */
#checkout-checkout .co-card,
#checkout-checkout .co-card-header,
#checkout-checkout .co-summary-inner,
#checkout-checkout .co-account-opt,
#checkout-checkout .co-method-card,
#checkout-checkout .co-comment-input,
#checkout-checkout .co-btn-save,
#checkout-checkout .co-btn-confirm,
#checkout-checkout .co-btn-place-order,
#checkout-checkout .form-control,
#checkout-checkout .form-select,
#checkout-checkout .btn,
#checkout-checkout .input-group,
#checkout-checkout .input-group > * {
  border-radius: 0 !important;
}
/* Pastreaza cercurile (numar pas, radio, checkbox stilizat) */
#checkout-checkout .co-step-num,
#checkout-checkout .co-method-radio {
  border-radius: 50% !important;
}
/* Checkbox-urile Bootstrap drepte (radio raman rotunde) */
#checkout-checkout .form-check-input[type="checkbox"] {
  border-radius: 0 !important;
}

/* =========================================================
   PAGINI INFORMATII (information, gdpr, sitemap) — coeziv
   ========================================================= */
.info-page {
  padding-top: 0;
  padding-bottom: 64px;
}
/* Titlu pagina, in ton cu restul site-ului */
.info-head {
  margin-bottom: 24px;
}
.info-head h1 {
  font-size: 26px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0 0 6px;
}
.info-head .info-accent {
  width: 48px;
  height: 3px;
  background: #dd0505;
  border-radius: 0;
}
/* Cardul de continut */
.info-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 32px;
}
/* Tipografie continut */
.info-card h2 { font-size: 20px; font-weight: 700; color: #0f0f0f; margin: 28px 0 12px; }
.info-card h3 { font-size: 17px; font-weight: 700; color: #0f0f0f; margin: 22px 0 10px; }
.info-card h2:first-child,
.info-card h3:first-child { margin-top: 0; }
.info-card p { color: #444; line-height: 1.7; margin: 0 0 14px; }
.info-card ul,
.info-card ol { color: #444; line-height: 1.7; padding-left: 20px; margin: 0 0 16px; }
.info-card li { margin-bottom: 6px; }
.info-card a { color: #dd0505; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.info-card img { max-width: 100%; height: auto; }
.info-card strong { color: #0f0f0f; }
/* Sitemap: doua coloane curate */
.info-card .sitemap-col ul { list-style: none; padding-left: 0; }
.info-card .sitemap-col > ul > li > a { font-weight: 600; color: #0f0f0f; }
.info-card .sitemap-col ul ul { padding-left: 16px; margin: 6px 0; }
@media (max-width: 575px) {
  .info-page { padding-bottom: 40px; }
  .info-card { padding: 20px; }
  .info-head h1 { font-size: 22px; }
}

/* Contact — colturi drepte peste tot (consistent cu site-ul) */
#information-contact .co-card,
#information-contact .co-btn-save,
#information-contact .form-control,
#information-contact .form-select,
#information-contact .btn,
#information-contact [style*="border-radius"] {
  border-radius: 0 !important;
}

/* =========================================================
   PAGINA RETUR (account/returns.add) — coeziv
   ========================================================= */
#account-return .ret-intro {
  color: #555;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 760px;
}
/* Carduri pas */
#account-return .ret-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  margin: 0 0 20px;
  padding: 0;
}
#account-return .ret-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid #e3e7ed;
  font-size: 15px;
  font-weight: 700;
  color: #0f0f0f;
  float: left;
  width: 100%;
}
#account-return .ret-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dd0505;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
#account-return .ret-card-body {
  padding: 24px;
  clear: both;
}
/* Inputuri colturi drepte, in ton */
#account-return .form-control,
#account-return .form-select,
#account-return .btn {
  border-radius: 0 !important;
}
#account-return .form-control:focus,
#account-return .form-select:focus {
  border-color: #dd0505;
  box-shadow: 0 0 0 .15rem rgba(175,3,22,.12);
}
#account-return .col-form-label {
  font-weight: 600;
  color: #0f0f0f;
}
/* Radiobuttons motiv retur */
#account-return .form-check-input:checked {
  background-color: #dd0505;
  border-color: #dd0505;
}
/* Bara de actiuni */
#account-return .ret-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
#account-return .ret-actions-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
#account-return .ret-btn-submit {
  background: #dd0505;
  border-color: #dd0505;
  color: #fff;
  font-weight: 600;
  padding: 10px 28px;
}
#account-return .ret-btn-submit:hover {
  background: #8a0211;
  border-color: #8a0211;
}
#account-return .ret-btn-back {
  font-weight: 600;
  padding: 10px 22px;
}
@media (max-width: 575px) {
  #account-return .ret-card-body { padding: 18px; }
  #account-return .ret-card-head { padding: 12px 18px; }
  #account-return .ret-actions { flex-direction: column-reverse; align-items: stretch; }
  #account-return .ret-actions-right { justify-content: space-between; }
  #account-return .ret-btn-back { text-align: center; }
}

/* =========================================================
   AUTENTIFICARE (account/login) — un singur panel modern
   ========================================================= */
#account-login .sh-auth {
  display: flex;
  justify-content: center;
  padding: 8px 0 8px;
}
#account-login .sh-auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 40px 36px;
  box-shadow: 0 8px 30px rgba(15,15,15,.06);
}
/* Header */
#account-login .sh-auth-head {
  text-align: center;
  margin-bottom: 28px;
}
#account-login .sh-auth-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #dd0505;
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}
#account-login .sh-auth-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 0 0 6px;
}
#account-login .sh-auth-sub {
  font-size: 14px;
  color: #6b7785;
  margin: 0;
  line-height: 1.5;
}
/* Formular */
#account-login .sh-auth-form { margin: 0; }
#account-login .sh-auth-field { margin-bottom: 18px; }
#account-login .sh-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: -2px 0 16px;
  padding: 10px 12px;
  background: #fdeaec;
  border: 1px solid #f3c2c8;
  color: #dd0505;
  font-size: 13px;
  line-height: 1.4;
}
#account-login .sh-auth-alert i { margin-top: 2px; }
#account-login .sh-auth-field > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
  margin-bottom: 7px;
}
#account-login .sh-auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
#account-login .sh-auth-label-row label {
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
}
#account-login .sh-auth-forgot {
  font-size: 12.5px;
  font-weight: 600;
  color: #dd0505;
  text-decoration: none;
}
#account-login .sh-auth-forgot:hover { text-decoration: underline; }
/* Input cu icon */
#account-login .sh-auth-input {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid #d8dee6;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
#account-login .sh-auth-input:focus-within {
  border-color: #dd0505;
  box-shadow: 0 0 0 .15rem rgba(175,3,22,.12);
}
#account-login .sh-auth-input > i {
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  color: #9aa6b2;
  font-size: 15px;
}
#account-login .sh-auth-input input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 14px 13px 0;
  font-size: 15px;
  color: #0f0f0f;
}
#account-login .sh-auth-input input::placeholder { color: #aab4bf; }
#account-login .sh-auth-toggle {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: #9aa6b2;
  width: 44px;
  cursor: pointer;
  font-size: 15px;
  transition: color .15s;
}
#account-login .sh-auth-toggle:hover { color: #0f0f0f; }
/* Buton principal */
#account-login .sh-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 6px;
  padding: 14px 20px;
  background: #dd0505;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
#account-login .sh-auth-btn:hover { background: #b00404; }
/* Separator */
#account-login .sh-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin: 28px 0 20px;
  color: #8a96a3;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}
#account-login .sh-auth-divider::before,
#account-login .sh-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e3e7ed;
}
/* Creare cont */
#account-login .sh-auth-register { text-align: center; }
#account-login .sh-auth-register p {
  font-size: 14px;
  color: #6b7785;
  margin: 0 0 14px;
  line-height: 1.5;
}
#account-login .sh-auth-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 20px;
  background: transparent;
  color: #0f0f0f;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid #d0d9e4;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
#account-login .sh-auth-btn-outline:hover {
  border-color: #0f0f0f;
  background: #0f0f0f;
  color: #fff;
}
/* Breadcrumb deja stilizat global (.cat-breadcrumb) */
@media (max-width: 575px) {
  #account-login .sh-auth-card { padding: 28px 20px; }
  #account-login .sh-auth-title { font-size: 21px; }
}

/* =========================================================
   AUTH partajat — register & forgotten (consistent cu login)
   ========================================================= */
#account-register .sh-auth,
#account-forgotten .sh-auth {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
#account-register .sh-auth-card,
#account-forgotten .sh-auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 40px 36px;
  box-shadow: 0 8px 30px rgba(15,15,15,.06);
}
#account-register .sh-auth-card--wide { max-width: 720px; }
#account-register .sh-auth-head,
#account-forgotten .sh-auth-head { text-align: center; margin-bottom: 28px; }
#account-register .sh-auth-badge,
#account-forgotten .sh-auth-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; background: #dd0505; color: #fff;
  font-size: 22px; margin-bottom: 16px;
}
#account-register .sh-auth-title,
#account-forgotten .sh-auth-title {
  font-size: 24px; font-weight: 700; color: #0f0f0f; margin: 0 0 6px;
}
#account-register .sh-auth-sub,
#account-forgotten .sh-auth-sub {
  font-size: 14px; color: #6b7785; margin: 0; line-height: 1.5;
}
#account-register .sh-auth-sub a,
#account-forgotten .sh-auth-sub a { color: #dd0505; font-weight: 600; text-decoration: none; }
#account-register .sh-auth-sub a:hover,
#account-forgotten .sh-auth-sub a:hover { text-decoration: underline; }
/* Buton principal */
#account-register .sh-auth-btn,
#account-forgotten .sh-auth-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; margin-top: 6px; padding: 14px 20px;
  background: #dd0505; color: #fff; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: background .15s;
}
#account-register .sh-auth-btn:hover,
#account-forgotten .sh-auth-btn:hover { background: #b00404; }
/* Separator */
#account-register .sh-auth-divider,
#account-forgotten .sh-auth-divider {
  display: flex; align-items: center; text-align: center; gap: 14px;
  margin: 28px 0 20px; color: #8a96a3; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px;
}
#account-register .sh-auth-divider::before,
#account-register .sh-auth-divider::after,
#account-forgotten .sh-auth-divider::before,
#account-forgotten .sh-auth-divider::after {
  content: ""; flex: 1; height: 1px; background: #e3e7ed;
}
/* Bloc secundar */
#account-register .sh-auth-register,
#account-forgotten .sh-auth-register { text-align: center; }
#account-register .sh-auth-btn-outline,
#account-forgotten .sh-auth-btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 13px 20px; background: transparent; color: #0f0f0f;
  font-size: 15px; font-weight: 600; border: 1.5px solid #d0d9e4;
  text-decoration: none; transition: border-color .15s, color .15s, background .15s;
}
#account-register .sh-auth-btn-outline:hover,
#account-forgotten .sh-auth-btn-outline:hover {
  border-color: #0f0f0f; background: #0f0f0f; color: #fff;
}
/* Forgotten: eroare email vizibila */
#account-forgotten .invalid-feedback { display: block; color: #dd0505; font-size: 12.5px; margin-top: 6px; }
/* --- Input cu icon: partajat forgotten + reset parola --- */
#account-forgotten .sh-auth-field,
#account-reset .sh-auth-field { margin-bottom: 18px; }
#account-forgotten .sh-auth-field > label,
#account-reset .sh-auth-field > label {
  display: block; font-size: 13px; font-weight: 600; color: #0f0f0f; margin-bottom: 7px;
}
#account-forgotten .sh-auth-input,
#account-reset .sh-auth-input {
  position: relative; display: flex; align-items: center;
  border: 1.5px solid #d8dee6; background: #fff; transition: border-color .15s, box-shadow .15s;
}
#account-forgotten .sh-auth-input:focus-within,
#account-reset .sh-auth-input:focus-within {
  border-color: #dd0505; box-shadow: 0 0 0 .15rem rgba(175,3,22,.12);
}
#account-forgotten .sh-auth-input > i,
#account-reset .sh-auth-input > i {
  flex-shrink: 0; width: 44px; text-align: center; color: #9aa6b2; font-size: 15px;
}
#account-forgotten .sh-auth-input input,
#account-reset .sh-auth-input input {
  flex: 1; width: 100%; border: none; outline: none; background: transparent;
  padding: 13px 14px 13px 0; font-size: 15px; color: #0f0f0f; box-shadow: none;
}
#account-forgotten .sh-auth-input input::placeholder,
#account-reset .sh-auth-input input::placeholder { color: #aab4bf; }
#account-reset .sh-auth-toggle {
  flex-shrink: 0; border: none; background: transparent; color: #9aa6b2;
  width: 44px; cursor: pointer; font-size: 15px; transition: color .15s;
}
#account-reset .sh-auth-toggle:hover { color: #0f0f0f; }
/* Reset: structura sh-auth (mostenita) */
#account-reset .sh-auth {
  display: flex; justify-content: center; padding: 8px 0 16px;
}
#account-reset .sh-auth-card {
  width: 100%; max-width: 440px; background: #fff;
  border: 1px solid #e7ebf0; padding: 38px 36px;
}
#account-reset .sh-auth-head { text-align: center; margin-bottom: 28px; }
#account-reset .sh-auth-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: #fdeaec;
  color: #dd0505; font-size: 22px; margin-bottom: 16px;
}
#account-reset .sh-auth-title {
  font-size: 25px; font-weight: 800; color: #0f0f0f; margin: 0 0 8px;
}
#account-reset .sh-auth-sub {
  font-size: 14px; color: #6b7785; margin: 0; line-height: 1.5;
}
#account-reset .sh-auth-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; margin-top: 6px; padding: 14px 20px; background: #dd0505;
  color: #fff; font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  transition: background .15s;
}
#account-reset .sh-auth-btn:hover { background: #b00404; }
#account-reset .sh-auth-register { text-align: center; }
#account-reset .sh-auth-btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 13px 20px; background: transparent; color: #0f0f0f;
  font-size: 15px; font-weight: 600; border: 1.5px solid #d0d9e4;
  text-decoration: none; transition: border-color .15s, color .15s, background .15s;
}
#account-reset .sh-auth-btn-outline:hover {
  border-color: #0f0f0f; background: #0f0f0f; color: #fff;
}
#account-reset .invalid-feedback { display: block; color: #dd0505; font-size: 12.5px; margin-top: 6px; }
@media (max-width: 575px) {
  #account-reset .sh-auth-card { padding: 28px 20px; }
  #account-reset .sh-auth-title { font-size: 21px; }
}

/* --- Register: inputuri cu iconita (consistent cu login) --- */
#account-register fieldset { border: none; padding: 0; margin: 0; }
#account-register .sh-auth-field > label {
  display: block; font-size: 13px; font-weight: 600; color: #0f0f0f; margin-bottom: 7px;
}
#account-register .sh-auth-input {
  position: relative; display: flex; align-items: center;
  border: 1.5px solid #d8dee6; background: #fff; transition: border-color .15s, box-shadow .15s;
}
#account-register .sh-auth-input:focus-within {
  border-color: #dd0505; box-shadow: 0 0 0 .15rem rgba(175,3,22,.12);
}
#account-register .sh-auth-input > i {
  flex-shrink: 0; width: 44px; text-align: center; color: #9aa6b2; font-size: 15px;
}
#account-register .sh-auth-input input,
#account-register .sh-auth-input select {
  flex: 1; width: 100%; border: none; outline: none; background: transparent;
  padding: 13px 14px 13px 0; font-size: 15px; color: #0f0f0f; box-shadow: none;
  -webkit-appearance: none; appearance: none;
}
#account-register .sh-auth-input select { cursor: pointer; }
#account-register .sh-auth-input input::placeholder { color: #aab4bf; }
#account-register .sh-auth-toggle {
  flex-shrink: 0; border: none; background: transparent; color: #9aa6b2;
  width: 44px; cursor: pointer; font-size: 15px; transition: color .15s;
}
#account-register .sh-auth-toggle:hover { color: #0f0f0f; }
#account-register .invalid-feedback { display: block; color: #dd0505; font-size: 12.5px; margin-top: 6px; }
/* Grila compacta 2 coloane */
#account-register fieldset#account,
#account-register fieldset#password-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 16px;
}
#account-register .sh-auth-col-full { grid-column: 1 / -1; }
#account-register .custom-field { grid-column: 1 / -1; }
#account-register .sh-auth-field { margin: 0; }
/* Checkboxuri (newsletter, termeni) */
#account-register .sh-auth-checks {
  display: flex; flex-direction: column; gap: 12px; margin: 4px 0 20px;
}
#account-register .sh-auth-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: #4a5663; line-height: 1.45; cursor: pointer; margin: 0;
}
#account-register .sh-auth-check input[type="checkbox"] {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: #dd0505; cursor: pointer;
}
#account-register .sh-auth-check a { color: #dd0505; font-weight: 600; text-decoration: none; }
#account-register .sh-auth-check a:hover { text-decoration: underline; }
#account-register .form-check-input { accent-color: #dd0505; }
@media (max-width: 575px) {
  #account-register .sh-auth-card,
  #account-forgotten .sh-auth-card { padding: 28px 20px; }
  #account-register .sh-auth-title,
  #account-forgotten .sh-auth-title { font-size: 21px; }
  #account-register fieldset#account,
  #account-register fieldset#password-section { grid-template-columns: 1fr; }
}

/* ════════ 404 Not Found ════════ */
#error-not-found .breadcrumb { display: none; }
#error-not-found .e404-wrap {
  text-align: center;
  padding: 60px 20px 80px;
  max-width: 560px;
  margin: 0 auto;
}
.e404-code {
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  color: #0f0f0f;
  letter-spacing: -4px;
  position: relative;
  display: inline-block;
}
.e404-code::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: #dd0505;
  margin: 18px auto 0;
}
.e404-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f0f0f;
  margin: 26px 0 12px;
}
.e404-text {
  font-size: 15px;
  color: #6b7785;
  line-height: 1.6;
  margin-bottom: 30px;
}
.e404-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.e404-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #dd0505;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 0;
  text-decoration: none;
  transition: background .18s;
}
.e404-btn-primary:hover { background: #b00404; color: #fff; }
@media (max-width: 575px) {
  .e404-code { font-size: 92px; }
  .e404-title { font-size: 20px; }
}

/* ════════ Free shipping progress (cart) ════════ */
.sh-cp-freeship {
  padding: 12px 16px;
  background: #f7f9fb;
  border-top: 1px solid #eceff3;
  border-bottom: 1px solid #eceff3;
}
.sh-cp-freeship-text {
  font-size: 12.5px;
  color: #0f0f0f;
  margin-bottom: 8px;
  line-height: 1.4;
}
.sh-cp-freeship-text i { color: #dd0505; margin-right: 4px; }
.sh-cp-freeship-bar {
  height: 6px;
  background: #e2e8ef;
  border-radius: 0;
  overflow: hidden;
}
.sh-cp-freeship-bar span {
  display: block;
  height: 100%;
  background: #dd0505;
  transition: width .4s ease;
}
.sh-cp-freeship--reached {
  background: #ecf9f0;
  border-color: #cdeed8;
}
.sh-cp-freeship--reached .sh-cp-freeship-text i { color: #1f9d55; }
.sh-cp-freeship--reached .sh-cp-freeship-bar span { background: #1f9d55; }

/* ════════ Free shipping progress (cart page + checkout) ════════ */
.cart-freeship, .co-confirm-freeship {
  padding: 12px 14px;
  background: #f7f9fb;
  border: 1px solid #eceff3;
  margin: 14px 0;
}
.cart-freeship-text, .co-confirm-freeship-text {
  font-size: 13px;
  color: #0f0f0f;
  margin-bottom: 8px;
  line-height: 1.4;
}
.cart-freeship-text i, .co-confirm-freeship-text i { color: #dd0505; margin-right: 4px; }
.cart-freeship-bar, .co-confirm-freeship-bar {
  height: 6px;
  background: #e2e8ef;
  overflow: hidden;
}
.cart-freeship-bar span, .co-confirm-freeship-bar span {
  display: block;
  height: 100%;
  background: #dd0505;
  transition: width .4s ease;
}
.cart-freeship--reached, .co-confirm-freeship--reached {
  background: #ecf9f0;
  border-color: #cdeed8;
}
.cart-freeship--reached .cart-freeship-text i,
.co-confirm-freeship--reached .co-confirm-freeship-text i { color: #1f9d55; }
.cart-freeship--reached .cart-freeship-bar span,
.co-confirm-freeship--reached .co-confirm-freeship-bar span { background: #1f9d55; }

/* ============================================================
   My Account dashboard (modern)
   ============================================================ */
#account-account #content { padding-top: 28px; padding-bottom: 28px; }

/* Hero / welcome */
#account-account .acc-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #0f0f0f 0%, #242424 100%);
  color: #fff;
  padding: 26px 28px;
  margin-bottom: 28px;
}
#account-account .acc-hero-id {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
#account-account .acc-avatar {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dd0505;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}
#account-account .acc-hero-text { min-width: 0; }
#account-account .acc-hero-text h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
  line-height: 1.2;
}
#account-account .acc-hero-mail {
  margin: 0 0 4px;
  font-size: 14px;
  color: rgba(255,255,255,.82);
  word-break: break-all;
}
#account-account .acc-hero-mail i { margin-right: 6px; opacity: .8; }
#account-account .acc-hero-sub {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  max-width: 520px;
}
#account-account .acc-logout {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
#account-account .acc-logout:hover {
  background: #dd0505;
  border-color: #dd0505;
  color: #fff;
}

/* Sections */
#account-account .acc-section { margin-bottom: 28px; }
#account-account .acc-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #0f0f0f;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef1f4;
}
#account-account .acc-section-title i { color: #dd0505; font-size: 15px; }

/* Grid of cards */
#account-account .acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
#account-account .acc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid #e8ebee;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
#account-account .acc-card:hover {
  border-color: #dd0505;
  box-shadow: 0 8px 24px rgba(15,15,15,.10);
  transform: translateY(-2px);
}
#account-account .acc-card-ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f6f9;
  color: #0f0f0f;
  font-size: 19px;
  transition: background .15s, color .15s;
}
#account-account .acc-card:hover .acc-card-ico {
  background: #dd0505;
  color: #fff;
}
#account-account .acc-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}
#account-account .acc-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f0f0f;
  line-height: 1.25;
}
#account-account .acc-card-desc {
  font-size: 12.5px;
  color: #6b7785;
  margin-top: 3px;
  line-height: 1.35;
}
#account-account .acc-card-arrow {
  flex: 0 0 auto;
  color: #c2cad2;
  font-size: 13px;
  transition: color .15s, transform .15s;
}
#account-account .acc-card:hover .acc-card-arrow {
  color: #dd0505;
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 575px) {
  #account-account .acc-hero { padding: 20px; }
  #account-account .acc-hero-text h1 { font-size: 20px; }
  #account-account .acc-avatar { width: 50px; height: 50px; font-size: 22px; }
  #account-account .acc-logout { width: 100%; justify-content: center; }
  #account-account .acc-grid { grid-template-columns: 1fr; }
}

  /* Hide breadcrumb across the whole account area / control panel */
  div[id^="account-"] > .breadcrumb { display: none; }

  /* ============================================================
     Shared account pages framework (modern, cohesive)
     Applies to every /account/* page except the auth screens
     which already have their own dedicated styling.
     ============================================================ */
  #account-edit #content,
  #account-password #content,
  #account-newsletter #content,
  #account-address #content,
  #account-payment-method #content,
  #account-wishlist #content,
  #account-order #content,
  #account-subscription #content,
  #account-reward #content,
  #account-transaction #content,
  #account-download #content,
  #account-affiliate #content,
  #account-tracking #content {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  /* Page heading */
  #account-edit #content > h1,
  #account-password #content > h1,
  #account-newsletter #content > h1,
  #account-address #content > h1,
  #account-payment-method #content > h1,
  #account-wishlist #content > h1,
  #account-order #content > h1,
  #account-subscription #content > h1,
  #account-return #content > h1,
  #account-reward #content > h1,
  #account-transaction #content > h1,
  #account-download #content > h1,
  #account-affiliate #content > h1,
  #account-tracking #content > h1 {
    font-size: 24px;
    font-weight: 700;
    color: #0f0f0f;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #eef1f4;
    position: relative;
  }
  #account-edit #content > h1::after,
  #account-password #content > h1::after,
  #account-newsletter #content > h1::after,
  #account-address #content > h1::after,
  #account-payment-method #content > h1::after,
  #account-wishlist #content > h1::after,
  #account-order #content > h1::after,
  #account-subscription #content > h1::after,
  #account-return #content > h1::after,
  #account-reward #content > h1::after,
  #account-transaction #content > h1::after,
  #account-download #content > h1::after,
  #account-affiliate #content > h1::after,
  #account-tracking #content > h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 54px;
    height: 2px;
    background: #dd0505;
  }
  #account-edit #content h2,
  #account-address #content h2,
  #account-order #content h2,
  #account-return #content h2,
  #account-affiliate #content h2 {
    font-size: 17px;
    font-weight: 700;
    color: #0f0f0f;
    margin: 0 0 16px;
  }

  /* Cards from fieldset/legend → modern panel */
  #account-edit fieldset,
  #account-password fieldset,
  #account-newsletter fieldset,
  #account-address fieldset,
  #account-return fieldset,
  #account-affiliate fieldset {
    background: #fff;
    border: 1px solid #e8ebee;
    padding: 24px 26px;
    margin-bottom: 20px;
  }
  #account-edit legend,
  #account-password legend,
  #account-newsletter legend,
  #account-address legend,
  #account-return legend,
  #account-affiliate legend {
    float: none;
    width: auto;
    font-size: 15px;
    font-weight: 700;
    color: #0f0f0f;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 0 0 14px;
    margin: 0 0 18px;
    border-bottom: 1px solid #eef1f4;
  }

  /* Labels */
  #account-edit .col-form-label,
  #account-password .col-form-label,
  #account-newsletter .col-form-label,
  #account-address .col-form-label,
  #account-return .col-form-label,
  #account-affiliate .col-form-label,
  #account-edit label,
  #account-password label,
  #account-newsletter label,
  #account-address label,
  #account-return label,
  #account-affiliate label {
    font-size: 13.5px;
    font-weight: 600;
    color: #3a4754;
  }

  /* Inputs / selects / textareas */
  div[id^="account-"] .form-control,
  div[id^="account-"] .form-select {
    border: 1px solid #d7dde3;
    border-radius: 0;
    padding: 11px 14px;
    font-size: 14px;
    color: #0f0f0f;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
  }
  div[id^="account-"] .form-control:focus,
  div[id^="account-"] .form-select:focus {
    border-color: #dd0505;
    box-shadow: 0 0 0 3px rgba(175,3,22,.12);
  }
  div[id^="account-"] .input-group-text {
    border-radius: 0;
    border: 1px solid #d7dde3;
    background: #f3f6f9;
    color: #6b7785;
  }

  /* Required field marker */
  div[id^="account-"] .required .col-form-label::before,
  div[id^="account-"] .required > label::before {
    content: "* ";
    color: #dd0505;
    font-weight: 700;
  }

  /* Buttons */
  div[id^="account-"] .btn {
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 20px;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
  }
  div[id^="account-"] .btn-primary {
    background: #dd0505;
    border-color: #dd0505;
  }
  div[id^="account-"] .btn-primary:hover {
    background: #b00404;
    border-color: #b00404;
  }
  div[id^="account-"] .btn-secondary,
  div[id^="account-"] .btn-light {
    background: #fff;
    border-color: #d7dde3;
    color: #0f0f0f;
  }
  div[id^="account-"] .btn-secondary:hover,
  div[id^="account-"] .btn-light:hover {
    background: #f3f6f9;
    border-color: #0f0f0f;
    color: #0f0f0f;
  }
  /* Small icon action buttons in tables */
  div[id^="account-"] td .btn {
    padding: 8px 11px;
  }
  div[id^="account-"] .btn-info {
    background: #0f0f0f;
    border-color: #0f0f0f;
    color: #fff;
  }
  div[id^="account-"] .btn-info:hover {
    background: #242424;
    border-color: #242424;
    color: #fff;
  }
  div[id^="account-"] .btn-danger { background: #dd0505; border-color: #dd0505; }
  div[id^="account-"] .btn-danger:hover { background: #b00404; border-color: #b00404; }

  /* Tables → modern card-like rows */
  div[id^="account-"] .table-responsive {
    background: #fff;
    border: 1px solid #e8ebee;
    margin-bottom: 20px;
  }
  div[id^="account-"] .table {
    margin-bottom: 0;
    border-color: #eef1f4;
  }
  div[id^="account-"] .table > thead th {
    background: #f7f9fb;
    color: #0f0f0f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 2px solid #eef1f4;
    padding: 14px 16px;
    vertical-align: middle;
  }
  div[id^="account-"] .table > tbody td {
    font-size: 14px;
    color: #3a4754;
    padding: 14px 16px;
    vertical-align: middle;
    border-color: #f0f2f5;
  }
  div[id^="account-"] .table.table-bordered,
  div[id^="account-"] .table.table-bordered td,
  div[id^="account-"] .table.table-bordered th {
    border-left: 0;
    border-right: 0;
  }
  div[id^="account-"] .table-hover > tbody > tr:hover > * {
    background: #fafbfc;
  }

  /* Info panels (order_info form-control boxes) */
  #account-order .form-control[style] {
    border: 1px solid #e8ebee !important;
    background: #fff;
    border-radius: 0;
    padding: 16px 18px;
    height: auto;
  }
  #account-order .form-control .lead {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #6b7785;
  }

  /* Alerts */
  div[id^="account-"] .alert {
    border-radius: 0;
    border: 1px solid transparent;
    font-size: 14px;
  }
  div[id^="account-"] .alert-success {
    background: #ecf9f0;
    border-color: #cdeed8;
    color: #1f7a44;
  }
  div[id^="account-"] .alert-danger {
    background: #fdecee;
    border-color: #f6cdd3;
    color: #a3071a;
  }

  /* Pagination */
  div[id^="account-"] .pagination .page-link {
    border-radius: 0;
    color: #0f0f0f;
    border-color: #e8ebee;
  }
  div[id^="account-"] .pagination .page-item.active .page-link {
    background: #dd0505;
    border-color: #dd0505;
    color: #fff;
  }

  /* Form action footer alignment */
  div[id^="account-"] .text-end > .btn + .btn { margin-left: 8px; }

  @media (max-width: 575px) {
    #account-edit fieldset,
    #account-password fieldset,
    #account-newsletter fieldset,
    #account-address fieldset,
    #account-return fieldset,
    #account-affiliate fieldset { padding: 18px 16px; }
    div[id^="account-"] #content > h1 { font-size: 20px; }
  }

/* Mobile filter button + responsive offcanvas sidebar */
.cat-filter-btn { margin-top: 10px; }
.cat-filter-btn i { font-size: 16px; }

/* On mobile the sidebar becomes a slide-in panel */
@media (max-width: 767.98px) {
  #column-left .offcanvas-md {
    width: 300px;
    max-width: calc(100vw - 56px);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-right: 1px solid rgba(0,0,0,.08);
  }
  #column-left .offcanvas-md.showing,
  #column-left .offcanvas-md.show {
    box-shadow: 18px 0 60px rgba(15,15,15,.28);
  }
  /* Header identical to cart/menu panels (.sh-sb-head) */
  #column-left .offcanvas-md .sh-sb-head {
    padding: 18px 20px;
    background: rgba(15,15,15,.04);
    border-bottom: 1px solid rgba(0,0,0,.06);
  }
  #column-left .offcanvas-md .offcanvas-body { padding: 18px 20px; }
}

/* On desktop it must behave as a normal in-flow sidebar (no offcanvas chrome) */
@media (min-width: 768px) {
  #column-left .offcanvas-md { visibility: visible !important; transform: none !important; }
  #column-left .offcanvas-md .offcanvas-body { padding: 0; }
}

/* Remove irrelevant Bootstrap gutter padding on mobile for the listing area */
@media (max-width: 767.98px) {
  #product-category .row.g-4 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
  #product-category #content { padding-left: 0; padding-right: 0; }
  /* Sidebar is an offcanvas on mobile: take it out of flow so #content is full-width */
  #product-category #column-left { display: contents; }
}

/*modificari module*/
#dgwa-order{
  margin-top: 8px !important;
}

/*updated*/

/* =========================================================
   MOTOUNELTE FACELIFT LAYER (#0f0f0f secondary / #dd0505 primary)
   Aplicat peste tema de baza � alt limbaj vizual:
   colturi rotunjite, fara clip-path, CTA rosu cu text alb
   ========================================================= */

/* --- Reset clip-path (colturile taiate Montesport) --- */
#site-header *, #site-footer *, .digi-cat-card, .digi-cat-card--sm,
[class*="sh-"], [class*="sf-"], [class*="pc-"], [class*="co-"], .btn, .badge {
  clip-path: none !important;
}

/* --- Tipografie / heading-uri cu bara galbena --- */
h1, h2, h3, h4, h5, h6 { color: #0f0f0f; }
.sf-heading {
  position: relative;
  padding-bottom: 8px;
}
.sf-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 3px;
  background: #dd0505;
  border-radius: 2px;
}

/* --- Butoane: rosu cu text alb --- */
.btn-primary, .co-btn-save, .sh-acm-btn-primary, .sh-cp-btn-primary,
.cam-btn-primary, button[type="submit"].btn {
  background: #dd0505 !important;
  border-color: #dd0505 !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(221,5,5,.35);
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn-primary:hover, .co-btn-save:hover, .sh-acm-btn-primary:hover,
.sh-cp-btn-primary:hover, .cam-btn-primary:hover {
  background: #b00404 !important;
  border-color: #b00404 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(221,5,5,.45);
}
.btn { border-radius: 0; }

/* Butoane secundare: navy outline */
.sh-acm-btn-secondary, .sh-cp-btn-secondary, .cam-btn-secondary, .btn-light {
  border: 2px solid #0f0f0f !important;
  color: #0f0f0f !important;
  border-radius: 0 !important;
  font-weight: 600;
}
.sh-acm-btn-secondary:hover, .sh-cp-btn-secondary:hover, .cam-btn-secondary:hover {
  background: #0f0f0f !important;
  color: #fff !important;
}

/* --- Badge-uri cu text alb --- */
.badge, [class*="badge-"] {
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
}

/* --- Header: alb solid --- */
#site-header {
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(15,15,15,.10) !important;
  box-shadow: none !important;
}
/* Text/iconite header: navy */
.sh-action-btn,
.sh-action-btn > a,
.sh-action-btn > a > i,
.sh-action-label {
  color: #0f0f0f;
}
/* Padding lateral butoane header */
.sh-action-btn > a,
a.sh-action-btn,
.sh-cart-toggle {
  padding: 0 14px !important;
}
/* Badge cos: rosu */
.sh-cart-badge {
  background: #d92b2b !important;
  color: #fff !important;
}

/* --- Navbar: navy solid, text alb, hover galben --- */
#menu, .sh-nav, #site-nav {
  background: #0f0f0f !important;
}
#site-nav { border-bottom: none !important; }
#menu .navbar-nav > li > a {
  color: #fff !important;
}
/* Link-uri si butoane pe toata inaltimea navbar-ului, fara margini */
#menu .navbar-nav > li > a,
#menu .navbar-nav > li > button.sn-produse-btn,
#menu .navbar-nav > li > a.sn-produse-btn {
  margin: 0 !important;
  height: 100% !important;
  border-radius: 0 !important;
  align-self: stretch;
}
#menu .navbar-nav > li > button.sn-produse-btn { margin-right: 8px !important; }
#menu .navbar-nav > li > a:hover,
#menu .navbar-nav > li > a.active {
  background: transparent !important;
  color: #dd0505 !important;
}
#menu .navbar-toggler { color: #fff; }
/* Butonul "Produse": galben pe navbar navy */
#menu .navbar-nav > li > a.sn-produse-btn,
#menu .navbar-nav > li > button.sn-produse-btn {
  background: #dd0505 !important;
  color: #fff !important;
}
#menu .navbar-nav > li > a.sn-produse-btn:hover,
#menu .navbar-nav > li > a.sn-produse-btn[aria-expanded="true"],
#menu .navbar-nav > li > button.sn-produse-btn:hover,
#menu .navbar-nav > li > button.sn-produse-btn[aria-expanded="true"],
#menu .navbar-nav > li.sn-produse-li:hover > a.sn-produse-btn,
#menu .navbar-nav > li.sn-produse-li:hover > button.sn-produse-btn {
  background: #b00404 !important;
  color: #fff !important;
}

/* --- Carduri (produs, categorie): colturi drepte, lift la hover --- */
.product-thumb, .digi-cat-card, .digi-cat-card--sm, .card {
  border-radius: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(15,15,15,.08);
  box-shadow: 0 2px 10px rgba(15,15,15,.06);
  transition: transform .18s, box-shadow .18s;
}
.product-thumb:hover, .digi-cat-card:hover, .digi-cat-card--sm:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,15,15,.14);
  border-color: rgba(221,5,5,.5);
}
.product-thumb {
  box-shadow: none;
}

/* --- Pret: navy bold, pretul vechi gri taiat --- */
.price, [class*="price-new"] { color: #0f0f0f; font-weight: 800; }
[class*="price-old"] { color: #9aa7b8; }

/* --- Formulare: focus galben --- */
.form-control:focus {
  border-color: #dd0505;
  box-shadow: 0 0 0 3px rgba(221,5,5,.25);
}

/* --- Footer: navy cu accente galbene --- */
#site-footer .sf-main { background: #0f0f0f; }
.sf-links a:hover { color: #dd0505; }
.sf-contact-item > i { color: #dd0505; }
.sf-bottom { background: #080808; }

/* --- Link-uri generale --- */
a { transition: color .12s; }
main a:not(.btn):hover { color: #b00404; }

/* --- Benefits strip --- */
.digi-benefits i, .digi-benefit-icon { color: #fff !important; }

/* --- Live search dropdown --- */
.sh-search-form { position: relative; }
.sh-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(15,15,15,.12);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(15,15,15,.18);
  overflow: hidden;
  z-index: 1050;
}
.sh-sd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(15,15,15,.06);
  transition: background .12s;
}
.sh-sd-item:hover { background: rgba(15,15,15,.05); }
.sh-sd-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  flex: 0 0 auto;
  background: #f6f8fb;
}
.sh-sd-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sh-sd-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f0f0f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sh-sd-price { font-size: 13px; font-weight: 700; color: #0f0f0f; }
.sh-sd-price-old { font-size: 12px; color: #9aa7b8; text-decoration: line-through; }
.sh-sd-all {
  display: block;
  text-align: center;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s;
}
.sh-sd-all:hover { color: #b00404; }

/* Stari: loading / fara rezultate */
.sh-sd-status {
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: #5a6f86;
  line-height: 1;
}
/* Spinner pur CSS: perfect rotund, centru de rotatie exact, fara metrics de font */
.sh-sd-spinner {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 2px solid rgba(221,5,5,.25);
  border-top-color: #dd0505;
  border-radius: 50%;
  animation: sh-sd-rotate .7s linear infinite;
}
@keyframes sh-sd-rotate {
  to { transform: rotate(360deg); }
}
/* Spinner in butoane: identic cu cel de la search (galben) */
.btn-spinner {
  display: inline-block;
  vertical-align: -2px;
}
.sh-sd-empty { color: #5a6f86; }

/* Subtle canvas for interior pages; the homepage keeps its existing surface. */
body.page-inner{background-color:#f7f8fa}
body.page-inner #container > main{background-color:#f7f8fa}
