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: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

/* 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: 55px;
  width: auto;
  display: block;
}
.sh-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #012341;
  text-decoration: none;
  letter-spacing: -.5px;
}
.sh-logo-text:hover { color: #ed8011; }

/* ---- 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 #e0e0e0;
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: #f7f7fb;
  padding: 0 14px;
  outline: none;
  box-sizing: border-box;
  color: #333;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.sh-search-input::placeholder { color: #aaa; }
.sh-search-input:focus {
  border-color: #ed8011;
  box-shadow: 0 0 0 3px rgba(237,128,17,.15);
  background: #fff;
}
.sh-search-btn {
  flex-shrink: 0;
  width: 48px;
  height: 40px;
  font-size: 16px;
  background: #ed8011;
  border: 1.5px solid #ed8011;
  border-radius: 0 8px 8px 0;
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}
.sh-search-btn:hover {
  background: #c96c08;
  border-color: #c96c08;
  color: #fff;
}

/* ---- 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: 8px;
  color: #333;
  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: #333;
  line-height: 1;
  letter-spacing: .1px;
  white-space: nowrap;
  transition: color .15s;
}
.sh-action-btn:hover,
.sh-action-btn > a:hover {
  background: transparent;
  color: #ed8011;
}

/* === WISHLIST: a.sh-action-btn � elementul insu?i e <a>, iconi?a mo?tene?te culoarea din parent, doar label are culoare proprie === */
a.sh-action-btn:hover > .sh-action-label { color: #ed8011; }

/* === CONT: div.sh-action-btn > a.dropdown-toggle > i + span === */
.sh-action-btn.dropdown > a:hover > i { color: #ed8011; }
.sh-action-btn.dropdown > a:hover > .sh-action-label { color: #ed8011; }
.sh-action-btn.dropdown > a.dropdown-toggle[aria-expanded="true"] { color: #ed8011 !important; background: transparent; }
.sh-action-btn.dropdown > a.dropdown-toggle[aria-expanded="true"] > i { color: #ed8011 !important; }
.sh-action-btn.dropdown > a.dropdown-toggle[aria-expanded="true"] > .sh-action-label { color: #ed8011 !important; }

/* === COS: button.sh-cart-toggle > i + span === */
.sh-cart-toggle:hover { color: #ed8011; background: transparent; }
.sh-cart-toggle:hover > i { color: #ed8011; }
.sh-cart-toggle:hover > .sh-action-label { color: #ed8011; }
.sh-cart-toggle.dropdown-toggle[aria-expanded="true"] { color: #ed8011 !important; background: transparent; }
.sh-cart-toggle.dropdown-toggle[aria-expanded="true"] > i { color: #ed8011 !important; }
.sh-cart-toggle.dropdown-toggle[aria-expanded="true"] > .sh-action-label { color: #ed8011 !important; }

/* remove Bootstrap dropdown arrow */
.sh-action-btn .dropdown-toggle::after { display: none; }
/* account dropdown */
.sh-account-menu {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 6px rgba(0,0,0,.06), 0 16px 40px rgba(1,35,65,.14);
  padding: 0;
  min-width: 240px;
  overflow: hidden;
}
/* Header section */
.sh-acm-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  background: #f7f9fc;
  border-bottom: 1px solid #eef1f5;
}
.sh-acm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4eaf2;
  color: #012341;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sh-acm-avatar--logged {
  background: #012341;
  color: #fff;
}
.sh-acm-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sh-acm-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
}
.sh-acm-sub {
  font-size: 11.5px;
  color: #888;
  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: #ed8011;
  color: #fff;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s;
}
.sh-acm-btn-primary i { line-height: 0; }
.sh-acm-btn-primary:hover { background: #c96c08; color: #fff; }
.sh-acm-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  background: transparent;
  color: #012341;
  font-size: 13.5px;
  font-weight: 400;
  border-radius: 8px;
  border: 1.5px solid #d0d9e4;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.sh-acm-btn-secondary:hover { border-color: #012341; color: #012341; }
.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: #ed8011; text-decoration: underline; }
.sh-acm-btn-link--secondary { color: #012341; font-weight: 500; }
.sh-acm-btn-link--secondary:hover { color: #ed8011; }
/* 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: #e2e8f0;
}
.sh-acm-sau span { white-space: nowrap; }
/* Menu items */
.sh-acm-divider {
  height: 1px;
  background: #eef1f5;
  margin: 4px 0;
}
.sh-acm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13.5px;
  color: #333;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.sh-acm-item i {
  width: 16px;
  text-align: center;
  color: #888;
  font-size: 14px;
  transition: color .12s;
  flex-shrink: 0;
}
.sh-acm-item:hover {
  background: #f7f9fc;
  color: #ed8011;
}
.sh-acm-item:hover i { color: #ed8011; }
.sh-acm-item--danger { color: #c0392b; }
.sh-acm-item--danger i { color: #e57373; }
.sh-acm-item--danger:hover { background: #fff5f5; color: #c0392b; }
.sh-acm-item--danger:hover i { color: #c0392b; }

/* ---- 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: 8px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 22px;
  cursor: pointer;
  padding: 0 6px;
  transition: color .15s;
  position: relative;
  gap: 8px;
  white-space: nowrap;
}
.sh-cart-toggle:hover { background: transparent; color: #ed8011; }
.sh-cart-toggle:hover > .sh-action-label { color: #ed8011; }
.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: #ed8011;
  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: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 6px rgba(0,0,0,.06), 0 16px 40px rgba(1,35,65,.14);
  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 {
  max-height: 240px;
  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: 6px 12px;
  transition: background .12s;
  position: relative;
  cursor: pointer;
}
.sh-cp-item:hover { background: #f7f9fc; }

.sh-cp-thumb {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  overflow: hidden;
  display: block;
  background: #f7f9fc;
  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: #012341;
}

.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 #eef1f5;
  padding: 8px 14px 6px;
  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: #012341;
  padding-top: 5px;
  border-top: 1px dashed #e2e8f0;
  margin-top: 3px;
}

/* Actions */
.sh-cp-actions {
  padding: 10px 12px 12px;
  border-top: 1px solid #eef1f5;
  background: #f7f9fc;
}
.sh-cp-btn-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px;
  background: #ed8011;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 0;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
  box-sizing: border-box;
}
.sh-cp-btn-primary:hover { background: #c96c08; color: #fff; }
.sh-cp-btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  background: transparent;
  color: #012341;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  border: 1.5px solid #d0d9e4;
  text-decoration: none;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.sh-cp-btn-secondary:hover { border-color: #012341; color: #012341; }

/* 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: 480px;
  width: calc(100% - 32px);
  margin: auto;
}
.cam-content {
  background: #fff;
  border-radius: 18px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 6px rgba(0,0,0,.06), 0 20px 48px rgba(1,35,65,.15) !important;
  padding: 28px 24px 22px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}
.cam-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #edfaf3;
  color: #27ae60;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.cam-badge {
  font-size: 15px;
  font-weight: 600;
  color: #012341;
  text-align: center;
}
.cam-product {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: #f7f9fc;
  border-radius: 10px;
  padding: 10px 12px;
}
.cam-thumb-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  background: #eef1f5;
}
.cam-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cam-thumb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0cbd8;
  font-size: 20px;
}
.cam-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cam-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a2332;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cam-price-row { display: flex; }
.cam-price {
  font-size: 14px;
  font-weight: 700;
  color: #012341;
}
.cam-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.cam-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background: #ed8011;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 9px;
  text-decoration: none;
  transition: background .15s;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.cam-btn-primary:hover { background: #c96c08; color: #fff; }
.cam-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  background: transparent;
  color: #5a7a9a;
  font-size: 13px;
  font-weight: 400;
  border-radius: 9px;
  border: 1.5px solid #d0d9e4;
  transition: border-color .15s, color .15s;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.cam-btn-secondary:hover { border-color: #012341; color: #012341; }
/* Hide default Bootstrap modal backdrop blur */
#modal-cart-added .modal-dialog { margin: auto; }

/* =========================================================
   REMOVE TOAST
   ========================================================= */
.sh-toast {
  position: fixed;
  top: 24px;
  right: 28px;
  bottom: auto;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 240px;
  max-width: 310px;
  padding: 13px 15px;
  border-radius: 8px;
  background: #e8faf0;
  border: 1.5px solid rgba(74,222,128,.15);
  box-shadow: 0 8px 24px rgba(1,35,65,.12);
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .2s ease;
  pointer-events: none;
}
.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: #012341;
  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: 0; }
#menu .navbar-nav > li {
  display: flex;
  align-items: stretch;
}
#menu .navbar-nav > li > a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.88) !important;
  font-size: 15px;
  font-weight: 500;
  padding: 0 16px !important;
  letter-spacing: .2px;
  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: #ed8011;
  color: #fff !important;
}
#menu .navbar-nav > li > a.dropdown-toggle::after {
  opacity: .7;
}
/* Produse button � secondary slightly lighter */
.sn-produse-btn {
  background: #022c51 !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0 20px !important;
  font-size: 15px !important;
}
.sn-produse-btn:hover,
.sn-produse-btn[aria-expanded="true"],
.sn-produse-li:hover .sn-produse-btn {
  background: #ed8011 !important;
  color: #fff !important;
}

/* Produse dropdown */
.sn-produse-li { position: relative !important; }
.sn-produse-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  transform: none !important;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-top: 3px solid #ed8011;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 6px 0 !important;
  z-index: 1050;
  margin-top: 0 !important;
}
.sn-produse-menu.show { display: block; }
.sn-produse-menu .dropdown-item {
  font-size: 14px;
  color: #222;
  padding: 9px 18px;
  border-radius: 0;
  transition: background .12s, color .12s;
}
.sn-produse-menu .dropdown-item:hover {
  background: #fff4ea;
  color: #ed8011;
}

/* Hover-open on desktop */
@media (min-width: 992px) {
  .sn-produse-li:hover > .sn-produse-menu { display: block; }
}

/* 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: #012341;
    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: 8px;
  color: #222;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .15s;
  order: 1;
}
.sh-hamburger:hover { background: #f0f0f0; }

/* =========================================================
   OVERLAY
   ========================================================= */
.sh-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 35, 65, .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: #012341;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 4px 0 32px rgba(1, 35, 65, .22);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sh-sb--open {
  transform: translateX(0);
}

/* Sidebar header */
.sh-sb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #01192e;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.sh-sb-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .3px;
}
.sh-sb-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  transition: background .15s;
}
.sh-sb-close:hover { background: rgba(255,255,255,.2); }

/* Sidebar nav */
.sh-sb-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  flex: 1;
}
.sh-sb-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.05);
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background .12s, color .12s;
  box-sizing: border-box;
}
.sh-sb-link:hover, .sh-sb-link:focus {
  background: rgba(237,128,17,.12);
  color: #fff;
  text-decoration: none;
  outline: none;
}
.sh-sb-link i {
  width: 18px;
  text-align: center;
  color: #ed8011;
  font-size: 15px;
  flex-shrink: 0;
}

/* Sub-menu toggle */
.sh-sb-sub-toggle { justify-content: space-between; }
.sh-sb-sub-toggle > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sh-sb-chev {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  transition: transform .25s;
  flex-shrink: 0;
}
.sh-sb-has-sub.sh-sb-sub--open .sh-sb-chev { transform: rotate(180deg); }

/* Sub-menu items */
.sh-sb-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: rgba(0,0,0,.18);
}
.sh-sb-has-sub.sh-sb-sub--open .sh-sb-sub { max-height: 700px; }
.sh-sb-sub-link {
  display: block;
  padding: 10px 20px 10px 50px;
  font-size: 13.5px;
  color: rgba(255,255,255,.68);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .12s, color .12s;
}
.sh-sb-sub-link:hover { background: rgba(237,128,17,.1); color: #fff; }

/* =========================================================
   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; }
  .sh-actions    { order: 3; gap: 0; }

  /* 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-radius: 0 !important; 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: #012341;
  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: #ed8011;
  opacity: 1;
  transform: scale(1.25);
}

/* Container consistent pe toate paginile la desktop */
@media (min-width: 1025px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1320px !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;
}
#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: #012341;
  padding: 48px 0 40px;
}

/* Column headings */
.sf-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ed8011;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* 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, padding-left .15s;
  display: inline-block;
}
.sf-links a:hover {
  color: #fff;
  padding-left: 4px;
}
/* Date comerciale — fara hover shift */
.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;
}

/* 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: #ed8011;
}
.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; }
}

/* ===================== Category page ===================== */
#product-category {
  padding: 24px 0 48px;
}

/* Breadcrumb */
.cat-breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  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: #012341;
  font-weight: 600;
}
.cat-breadcrumb a:hover {
  color: #ed8011;
}

/* Sidebar */
#column-left {
  padding-bottom: 0 !important;
}
.cat-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #012341;
  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: #ed8011;
  background: transparent;
}
#column-left .list-group-item.active {
  color: #ed8011;
  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: 10px;
  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: #ed8011;
  color: #ed8011;
}

/* Toolbar */
.cat-toolbar {
  display: flex;
  align-items: baseline;
  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: #012341;
  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-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='%23012341' 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: #ed8011;
  box-shadow: 0 0 0 3px rgba(237,128,17,.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: #012341;
  background: #fff;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
ul.pagination .page-item .page-link:hover {
  background: #f5f7fa;
  border-color: #012341;
  color: #012341;
}
ul.pagination .page-item.active span.page-link {
  background: #ed8011;
  border-color: #ed8011;
  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: #012341;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s;
}
.btn-cat-continue:hover {
  background: #ed8011;
  color: #fff;
}

/* Module product grid (featured, latest, special, bestseller) */
.product-grid-module {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.product-grid-module--vertical {
  grid-template-columns: 1fr;
}
@media (max-width: 767px) {
  .product-grid-module {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-thumb .price-new { font-size: 18px !important; }
  .product-thumb .price-old { font-size: 13px !important; }
}
@media (max-width: 425px) {
  .product-grid-module { gap: 6px; }
}

/* Category product grid: CSS grid cu gap uniform */
#product-category #product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
#product-category #product-list > .col {
  padding: 0;
  width: auto;
}
@media (max-width: 767px) {
  #product-category #product-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 425px) {
  #product-category #product-list { gap: 6px; }
}

@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; }
}


/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
}
.breadcrumb i {
  font-size: 15px;
}
.breadcrumb > li.breadcrumb-item {
  text-shadow: 0 1px 0 #FFF;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}
.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
}
.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 29px;
  height: 29px;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  transform: rotate(-45deg);
}
.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}
.product-thumb {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.product-thumb:hover {
  box-shadow: 0 6px 28px rgba(237,128,17,.25);
}
.product-thumb .image {
  position: relative;
  overflow: hidden;
  background: transparent;
  text-align: center;
}
.product-thumb .image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
  display: block;
  max-height: 180px;
}
.product-thumb:hover .image img {
}
/* Wishlist + Compare — colt dreapta sus pe imagine */
.pt-image-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pt-wishlist-form,
.pt-compare-form {
  display: flex;
}
.pt-wishlist-btn,
.pt-compare-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  color: #aaa;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.pt-wishlist-btn:hover,
.pt-compare-btn:hover {
  background: #ed8011;
  color: #fff;
}
/* Cart: rand jos */
.pt-bottom {
  display: flex;
  align-items: stretch;
  margin-top: 8px;
}
.pt-cart-form {
  flex: 1;
  min-width: 0;
  display: flex;
}
.pt-cart-form .btn-cart-main {
  width: 100%;
}
/* Content area */
.product-thumb .content {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-thumb .description {
  flex: 1;
}
.product-thumb .description h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-stock-status {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 0;
}
.product-stock-status .fa-circle,
.stock-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.product-stock-status.in-stock {
  color: #2e7d32;
}
.product-thumb .description h4 a {
  color: inherit;
  text-decoration: none;
}
.product-thumb .description h4 a:hover {
  color: #012341;
}
/* Rating */
.product-thumb .rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 3px;
}
.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: #ccc;
}
.rating-score {
  font-size: 11px;
  font-weight: 600;
  color: #555;
  margin-left: 3px;
}
/* Price */
.product-thumb .price {
  margin: 2px 0 6px;
}
.product-thumb .price-old-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
}
.product-thumb .price-new {
  font-size: 20px;
  font-weight: 700;
  color: #ed8011;
}
.product-thumb .price-old {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
}
.product-thumb .price-savings {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #ed8011;
  border-radius: 4px;
  padding: 1px 5px;
}
.product-thumb .price-tax {
  font-size: 11px;
  color: #aaa;
  display: block;
}
/* Add to cart button */
.product-thumb .button {
  margin-top: auto;
}
.btn-cart-main {
  width: 100%;
  background: #012341;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.btn-cart-main:hover {
  background: #01325e;
  color: #fff;
}
/* ================================================================
   CART PAGE
   ================================================================ */
#checkout-cart {
  padding: 24px 0 64px;
}

/* Header */
.cart-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}
.cart-title {
  font-size: 24px;
  font-weight: 700;
  color: #012341;
  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(1,35,65,.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: #012341;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}
.cart-item-name:hover { color: #ed8011; }
.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: #012341;
  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: #012341;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.cart-qty-update:hover { background: #ed8011; 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: #012341;
}
.cart-price-val--total {
  font-size: 16px;
  color: #ed8011;
}
.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: #ed8011;
  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: 14px;
  padding: 24px;
  position: sticky;
  top: 90px;
}
.cart-summary-title {
  font-size: 16px;
  font-weight: 700;
  color: #012341;
  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: #012341;
}
.cart-total-row--final .cart-total-val { color: #ed8011; }

/* 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: 10px;
  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: #012341;
  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: #012341;
  outline: none;
  transition: border-color .15s;
}
.coupon-input:focus { border-color: #ed8011; }
.coupon-btn-apply {
  padding: 10px 18px;
  background: #ed8011;
  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: #d4720e; }
.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: #ed8011;
  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: #d4720e; }
.cart-btn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  background: #f5f7fa;
  color: #012341 !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: #012341;
  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: 16px 0 60px; }
.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 #e8e8e8;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}
.co-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f2f5;
}
.co-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ed8011;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.co-card-icon {
  font-size: 15px;
  color: #ed8011;
  width: 26px;
  text-align: center;
}
.co-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #012341;
  margin: 0;
}
.co-card-body {
  padding: 22px;
}

/* 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: #555;
  margin-bottom: 5px;
}
.co-card-body .form-control,
.co-card-body .form-select {
  border-radius: 8px;
  border-color: #d5dae0;
  font-size: 14px;
  color: #012341;
  padding: 10px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.co-card-body .form-control:focus,
.co-card-body .form-select:focus {
  border-color: #ed8011;
  box-shadow: 0 0 0 3px rgba(237,128,17,.12);
}

/* Radio / checkbox */
.co-card-body .form-check-input:checked {
  background-color: #ed8011;
  border-color: #ed8011;
}
.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: 2px solid #e0e4e8;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #012341;
}
.co-account-opt input { display: none; }
.co-account-opt.is-active {
  border-color: #ed8011;
  background: #fff8f2;
}
.co-account-opt-icon { font-size: 18px; color: #ed8011; }

/* Submit button inside forms */
.co-card-body .btn-primary,
.co-btn-save {
  padding: 11px 28px;
  background: #012341;
  color: #fff;
  border: none;
  border-radius: 9px;
  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: #01345e; }

/* Choose shipping/payment button */
.co-card-body .input-group .btn-primary {
  background: #ed8011;
  border-color: #ed8011;
  border-radius: 0 8px 8px 0;
  margin-top: 0;
  padding: 10px 18px;
}
.co-card-body .input-group .btn-primary:hover { background: #d4720e; }
.co-card-body .input-group .form-control {
  border-radius: 8px 0 0 8px;
}
.co-card-body .input-group-text {
  background: #f5f7fa;
  border-color: #d5dae0;
  color: #888;
}

/* 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 #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 90px;
  padding: 24px;
}
.co-summary-title {
  font-size: 16px;
  font-weight: 700;
  color: #012341;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f2f5;
}

/* 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: #ed8011;
  padding-top: 2px;
}
.co-confirm-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #012341;
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}
.co-confirm-item-name:hover { color: #ed8011; }
.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: #012341;
  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: #012341;
  border-top: 1px solid #e8edf2;
  margin-top: 6px;
  padding-top: 10px;
}
.co-confirm-total-row--final span:last-child { color: #ed8011; }

/* Buton confirmare */
.co-btn-confirm {
  display: block;
  width: calc(100% - 40px);
  margin: 14px 20px 18px;
  padding: 14px 20px;
  background: #ed8011;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background .15s;
  text-decoration: none;
}
.co-btn-confirm:hover { background: #d4720e; 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: 13px 20px;
  background: #ed8011;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background .15s;
  margin-top: 16px;
}
.co-btn-place-order:hover { background: #d4720e; }
.co-btn-place-order:disabled { background: #ccc; cursor: not-allowed; }
.co-btn-place-order i { margin-right: 7px; }

/* 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: #ed8011;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background .15s;
  border-radius: 10px;
}
#checkout-payment .btn-primary:hover { background: #d4720e; }

/* ================================================================
   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: 8px;
}
.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: 8px;
  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 #e8e8e8;
  border-radius: 10px;
  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: #ed8011; }
.co-method-card.is-selected {
  border-color: #ed8011;
  background: #fff9f3;
}
/* 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: #ed8011;
  transform: scale(0);
  transition: transform .15s;
}
.co-method-card.is-selected .co-method-radio {
  border-color: #ed8011;
}
.co-method-card.is-selected .co-method-radio::after {
  transform: scale(1);
}
.co-method-label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #012341;
}
.co-method-price {
  font-size: 14px;
  font-weight: 600;
  color: #ed8011;
}

/* Comment block */
.co-comment-block {
  margin-top: 20px;
}
.co-comment-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #012341;
  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: #ed8011;
  box-shadow: 0 0 0 3px rgba(237,128,17,.12);
}

/* Agree block */
.co-agree-block {
  margin-top: 16px;
}
.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: 4px;
  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: #ed8011;
  border-color: #ed8011;
}
.co-agree-label input[type="checkbox"]:checked ~ .co-agree-check::after {
  transform: rotate(-45deg) scale(1);
}
.co-agree-text a { color: #ed8011; text-decoration: underline; }

/* ================================================================
   PRODUCT INFO PAGE
   ================================================================ */
#product-info {
  padding: 24px 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 {}
.pi-main-img {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.pi-main-img a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.pi-main-img-el {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 20px;
  transition: opacity .2s;
}
.pi-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pi-thumbs a {
  display: block;
  border: 2px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  width: 72px;
  height: 72px;
  background: #fff;
  transition: border-color .15s;
}
.pi-thumbs a:hover,
.pi-thumb-el.active {
  border-color: #ed8011;
}
.pi-thumb-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* ── Info ── */
.pi-title {
  font-size: 26px;
  font-weight: 700;
  color: #012341;
  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: #012341; font-size: 13px; text-decoration: underline; }
.pi-rating-link:hover { color: #ed8011; }
.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: #012341; text-decoration: none; }
.pi-meta-val a:hover { color: #ed8011; }

.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: #ed8011;
  line-height: 1.1;
}
.pi-price-old {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}
.pi-price-badge {
  background: #ed8011;
  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: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  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: #012341;
  margin-bottom: 6px;
}
.pi-select {
  width: 100%;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  padding: 8px 36px 8px 12px;
  font-size: 14px;
  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='%23012341' 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: #ed8011; box-shadow: 0 0 0 3px rgba(237,128,17,.12); }
.pi-input {
  width: 100%;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.pi-input:focus { border-color: #ed8011; box-shadow: 0 0 0 3px rgba(237,128,17,.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: 6px 12px;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  transition: border-color .15s;
}
.pi-radio-item:hover, .pi-check-item:hover { border-color: #ed8011; }
.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: 12px;
}
.pi-qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.pi-qty-btn {
  width: 36px;
  height: 44px;
  background: #f7f7f7;
  border: none;
  font-size: 18px;
  color: #012341;
  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: #012341;
  outline: none;
}
.pi-btn-cart {
  flex: 1;
  height: 44px;
  background: #012341;
  color: #fff;
  border: none;
  border-radius: 8px;
  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: #01325e; }
.pi-btn-cart:disabled { opacity: .6; cursor: not-allowed; }
.pi-min-notice {
  font-size: 13px;
  color: #e67e00;
  background: #fff8ee;
  border: 1px solid #f5d6a0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
}

/* Actions (wishlist, compare) */
.pi-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pi-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555 !important;
  background: none !important;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.pi-action-btn:hover { border-color: #ed8011; color: #ed8011 !important; }
.pi-action-btn:focus,
.pi-action-btn:active,
.pi-action-btn:disabled,
.pi-action-btn[disabled] { color: #555 !important; outline: none; }
.pi-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #012341;
  background: #f5f7fa;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  padding: 8px 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: #ed8011; }

/* ── 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: #012341; border-bottom-color: #ed8011; }
.pi-tab-btn:hover { color: #012341; }
.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 #e0e4e8;
  border-radius: 20px;
  padding: 3px 11px;
  color: #555;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.pi-tag:hover { border-color: #ed8011; color: #ed8011; }

/* Specificatii */
.pi-spec-table {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}
.pi-spec-group {
  background: #f5f7fa;
  font-size: 13px;
  font-weight: 700;
  color: #012341;
  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-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%; }
  .pi-btn-cart { font-size: 14px; }
}

/* 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; }

/* ================================================================
   CHECKOUT SUCCESS PAGE  (#checkout-success)
   ================================================================ */
#checkout-success {
  padding: 24px 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: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(1,35,65,.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: #012341;
  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: 8px;
  padding: 14px 18px;
}
.cos-message p { margin: 0 0 8px; }
.cos-message p:last-child { margin: 0; }
.cos-message a {
  color: #ed8011;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.cos-message a:hover { color: #c96c08; 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: #ed8011;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.cos-btn-primary:hover { background: #d4720e; }

@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: #012341;
  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: #ed8011;
  border-color: #ed8011;
}
.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: #ed8011;
}
.pi-filter-label {
  font-size: 14px;
  color: #444;
  cursor: pointer;
  transition: color .15s;
  margin: 0;
}
.pi-filter-item:hover .pi-filter-label {
  color: #ed8011;
}
.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: #ed8011;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.pi-clear-filters:hover {
  text-decoration: underline;
}
