:root {
  --cos-bg: #f4eee5;
  --cos-surface: #fffdfa;
  --cos-surface-soft: #fbf6ee;
  --cos-line: #ead8bd;
  --cos-line-strong: #d5a247;
  --cos-gold: #c9952d;
  --cos-gold-dark: #a87618;
  --cos-text: #191714;
  --cos-muted: #70685f;
  --cos-shadow: 0 18px 42px rgba(88, 64, 28, .09);
  --cos-radius: 18px;
}

html, body { background: var(--cos-bg) !important; }
.cos-page, .cos-page .bar-content, .cos-content { background: var(--cos-bg) !important; }
.cos-page .bar-content { padding: 0px 0 0 !important; }
.cos-wrapper.wrapper {
  width: min(88vw, 1500px) !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
}

.cos-hero { text-align: center; margin: 10px 0 34px; }
.cos-hero-icon {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--cos-line); border-radius: 50%; background: var(--cos-surface); color: var(--cos-gold);
  font-size: 20px; box-shadow: 0 8px 22px rgba(201, 149, 45, .1);
}
.cos-hero h1 {
  margin: 12px 0 8px !important; font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 500 !important; font-size: clamp(34px, 3.2vw, 50px) !important; color: #070707 !important; letter-spacing: -.03em;
}
.cos-hero-line { display:block; width: 170px; height: 1px; background: linear-gradient(90deg, transparent, var(--cos-gold), transparent); margin: 0 auto; position: relative; }
.cos-hero-line:after { content:""; position:absolute; left:50%; top:50%; width:9px; height:9px; border:1px solid var(--cos-gold); background: var(--cos-bg); transform: translate(-50%,-50%) rotate(45deg); }

.cos-title-legacy { display:none !important; }
.cos-cart-card {
  background: var(--cos-surface) !important; border: 1px solid var(--cos-line) !important; border-radius: var(--cos-radius) !important;
  box-shadow: var(--cos-shadow); overflow: hidden; margin: 0 0 34px !important;
}
.cart-alert {
  display:flex; gap:10px; align-items:center; padding: 14px 18px !important; margin: 0 !important;
  border: 0 !important; border-bottom: 1px solid var(--cos-line) !important;
  background: rgba(250, 245, 236, .9) !important; color: var(--cos-text) !important; font-size: 14px;
}
.cart-alert i { color: #46a83b !important; }

#cart-table.cos-cart-table { margin: 0 !important; }
.cos-cart-table form { margin: 0 !important; }
.cos-cart-head {
  display:grid; grid-template-columns: 160px 1.4fr 170px 170px 170px 70px; align-items:center; gap: 18px;
  padding: 18px 24px; border-bottom: 1px solid var(--cos-line); color: var(--cos-muted); text-transform: uppercase;
  letter-spacing: .12em; font-size: 12px; font-weight: 800;
}
.cos-cart-item {
  display:grid; grid-template-columns: 160px 1.4fr 170px 170px 170px 70px; align-items:center; gap:18px;
  padding: 28px 24px; border-bottom: 1px solid var(--cos-line); background: var(--cos-surface);
}
.cos-product-img img {
  width: 96px !important; height: 96px !important; object-fit: contain; padding: 12px;
  border: 1px solid var(--cos-line); border-radius: 12px; background: #fff;
}
.cos-product-name strong { display:block; color: var(--cos-text); font-size: 16px; line-height:1.35; font-weight: 800; }
.cos-product-name small { display:block; color: var(--cos-muted); margin-top: 4px; font-size: 13px; }
.cos-product-name em { display:block; margin-top: 10px; color: #2f9d31; font-style: normal; font-weight: 700; font-size: 13px; }
.cos-product-price, .cos-product-total { color: var(--cos-text); font-weight: 800; font-size: 15px; }
.cos-product-qty label { display:block; font-size: 12px; color: var(--cos-muted); margin-bottom: 6px; }
.cos-product-qty input[type=number] {
  width: 76px !important; height: 42px !important; border: 1px solid var(--cos-line) !important; border-radius: 10px !important;
  text-align: center; padding: 0 6px !important; font-size: 15px; background: #fff !important; color: var(--cos-text) !important;
}
.cos-qty-update { display:block; margin-top: 6px; color: var(--cos-muted); font-size: 12px; text-decoration: underline; }
.cos-product-remove .red-button {
  width: 42px !important; height: 42px !important; padding: 0 !important; display: inline-flex !important; align-items:center; justify-content:center;
  border-radius: 50% !important; border:1px solid var(--cos-line) !important; background: #fff !important; color: var(--cos-gold) !important; box-shadow: none !important;
}
.cos-product-remove .red-button .fa { color: var(--cos-gold) !important; margin:0 !important; }
.cos-empty { padding: 40px 24px; text-align:center; color: var(--cos-muted); }

.cos-cart-bottom { display:grid; grid-template-columns: minmax(0, 1fr) 420px; gap:24px; padding: 22px 24px; align-items: stretch; background: rgba(250,246,239,.65); border-bottom: 1px solid var(--cos-line); }
.cos-discount-box { display:grid; grid-template-columns: 260px minmax(0,1fr) 170px; align-items:end; gap: 12px; }
.cos-discount-box label { color: var(--cos-text); font-weight:700; line-height:1.35; }
.cos-discount-box label i { color: var(--cos-gold); margin-right: 8px; }
.cos-discount-box input {
  height: 46px !important; width: 100% !important; border: 1px solid var(--cos-line) !important; border-radius: 10px !important;
  padding: 0 16px !important; background: #fff !important; box-sizing: border-box !important;
}
.cos-discount-box .black-button, .cos-cart-actions .red-button, #send-order, #send-order-no-auth {
  display:inline-flex !important; align-items:center; justify-content:center; gap:9px; min-height: 46px;
  border: 0 !important; border-radius: 11px !important; background: linear-gradient(180deg,#d9aa4a,#c78f24) !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important; padding: 0 24px !important;
  font-weight: 900 !important; text-transform: uppercase !important; letter-spacing: .06em !important; text-decoration:none !important;
  box-shadow: 0 12px 28px rgba(201,149,45,.22) !important; animation: none !important; transform: none !important;
}
.cos-discount-box .black-button:hover, .cos-cart-actions .red-button:hover, #send-order:hover, #send-order-no-auth:hover { background: linear-gradient(180deg,#c99633,#a97821) !important; }
.cos-cart-mini-total { background: #fff; border: 1px solid var(--cos-line); border-radius: 12px; padding: 14px 18px; }
.cos-cart-mini-total div { display:flex; justify-content:space-between; gap:20px; padding: 7px 0; color: var(--cos-muted); }
.cos-cart-mini-total strong { color: var(--cos-text); }
.cos-cart-mini-total .cos-cart-total-line { border-top: 1px solid var(--cos-line); margin-top: 6px; padding-top: 14px; }
.cos-cart-mini-total .cos-cart-total-line strong { color: var(--cos-gold); font-size: 21px; }
.cos-cart-actions { display:flex; justify-content: flex-end; gap:14px; padding: 18px 24px; }
.cos-empty-cart { color: var(--cos-muted); align-self: center; text-decoration: underline; font-weight: 700; }
.cos-engros-note { padding: 14px 18px; border-top: 1px solid var(--cos-line); color: var(--cos-text); background: rgba(255,255,255,.45); }
.cos-engros-note a { color: #c22 !important; }
.cos-back-refresh { padding: 18px 24px !important; margin: 0 !important; display: flex; justify-content: flex-start; border-top: 1px solid var(--cos-line); }
.cos-back-refresh .red-button { background: transparent !important; color: var(--cos-gold) !important; -webkit-text-fill-color: var(--cos-gold) !important; border: 1px solid var(--cos-line-strong) !important; box-shadow: none !important; }
.cos-back-refresh .fa { color: var(--cos-gold) !important; }

.checkout-login-card, .checkout-card-modern, .checkout-summary-card {
  background: var(--cos-surface) !important; border: 1px solid var(--cos-line) !important; border-radius: var(--cos-radius) !important; box-shadow: var(--cos-shadow);
}
.checkout-login-card { padding: 24px !important; margin: 0 0 24px !important; }
.checkout-login-card h2, .checkout-card-modern h2, .checkout-summary-card h2, .checkout-card-modern h3 {
  display:flex; align-items:center; gap:12px; margin: 0 0 22px !important; font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 26px !important; color: var(--cos-text) !important; font-weight: 500 !important;
}
.checkout-login-card h2 i, .checkout-card-modern h2 i, .checkout-summary-card h2 i {
  width: 42px; height:42px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%;
  background: #fbf2e4; border:1px solid var(--cos-line); color: var(--cos-gold); font-size: 18px;
}
.checkout-flow { margin-top: 28px; }
.checkout-flow-user { display:grid; grid-template-columns: minmax(0,1fr) 380px; gap: 28px; align-items:start; }
.checkout-flow-guest #box-form-livrare { width: 100% !important; margin: 0 !important; }
.checkout-flow-guest #box-form-livrare > form { display:grid !important; grid-template-columns: minmax(0,1fr) 380px; gap: 28px; align-items:start; }
.checkout-flow-guest .checkout-card-modern { grid-column: 1; }
.checkout-flow-guest .checkout-summary-card { grid-column: 2; grid-row: 1 / span 3; }
.checkout-main { min-width:0; }
.checkout-card-modern { padding: 28px 30px !important; margin: 0 0 18px !important; }
.checkout-grid-modern, #box-form-livrare .grid.checkout-grid-modern { display:grid !important; grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 18px 22px !important; }
.checkout-grid-modern label { display:block; margin-bottom: 7px; color: var(--cos-text); font-weight: 700; font-size: 13px; }
.checkout-field-full { grid-column: 1 / -1; }
.checkout-card-modern input[type=text], .checkout-card-modern input[type=email], .checkout-card-modern input[type=password], .checkout-card-modern select, .checkout-card-modern textarea,
#box-form-livrare input[type=text], #box-form-livrare input[type=email], #box-form-livrare input[type=password], #box-form-livrare select, #box-form-livrare textarea {
  width: 100% !important; height: 46px !important; border: 1px solid var(--cos-line) !important; border-radius: 10px !important;
  background: #fff !important; color: var(--cos-text) !important; padding: 0 14px !important; box-sizing: border-box !important; margin: 0 !important;
  font-size: 14px !important; box-shadow: none !important;
}
.checkout-card-modern textarea, #box-form-livrare textarea.checkout-textarea { min-height: 86px !important; height: 86px !important; padding: 14px !important; resize: vertical; }
.checkout-card-modern p, #box-form-livrare p { color: var(--cos-muted) !important; font-size: 12px !important; margin: 7px 0 0 !important; }
.checkout-card-modern input:focus, .checkout-card-modern select:focus, .checkout-card-modern textarea:focus, #box-form-livrare input:focus, #box-form-livrare select:focus, #box-form-livrare textarea:focus {
  outline: none !important; border-color: var(--cos-gold) !important; box-shadow: 0 0 0 4px rgba(201,149,45,.13) !important;
}
.checkout-options-grid, #delivery-type, #payment-type, #address-list { display:grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px !important; }
.checkout-option, .address-container-modern .address {
  position:relative; min-height: 54px; padding: 16px 18px !important; margin:0 !important;
  border:1px solid var(--cos-line) !important; border-radius: 12px !important; background:#fff !important;
  display:flex !important; align-items:center; gap:10px; box-sizing:border-box; font-weight:700;
}
.checkout-option:has(input:checked), .address:has(input:checked) { border-color: var(--cos-gold) !important; box-shadow: 0 0 0 3px rgba(201,149,45,.10); }
.checkout-option input[type=radio], .checkout-option input[type=checkbox], .address input[type=radio], #container-accept-terms input[type=checkbox] {
  width: 17px !important; height:17px !important; min-width:17px; accent-color: var(--cos-gold); margin:0 !important; position: static !important;
}
.checkout-option label, .address label { cursor:pointer; color: var(--cos-text) !important; line-height:1.3; }
.delivery-text { display:none; margin: 16px 0 0 !important; padding: 18px !important; border:1px solid var(--cos-line) !important; border-radius: 12px !important; background: var(--cos-surface-soft) !important; color: var(--cos-muted) !important; }
.checkout-subtitle { margin-top: 28px !important; }
#add-address, .address .gradient-button, .form-address-links .gradient-button, .form-address-links .red-button { border-radius: 10px !important; }
.address-text { width:auto !important; float:none !important; padding:0 !important; display:flex !important; align-items:center; gap:10px; }
.address .gradient-button { margin-left:auto; }
.form-edit-address-container { width:100% !important; margin: 18px 0 0 !important; }
.form-edit-address-container .form-row { display:grid; grid-template-columns: 170px 1fr; align-items:center; gap:12px; text-align:left !important; }
.form-edit-address-container .form-row label { width:auto !important; text-align:left !important; }

.checkout-summary-card { padding: 28px !important; position: sticky; top: 18px; }
.summary-care { margin: -28px -28px 24px; padding: 28px; text-align:center; border-bottom:1px solid var(--cos-line); color: var(--cos-text); font-family: Georgia, 'Times New Roman', serif; font-size: 20px; background: linear-gradient(135deg,#fffdf9,#fbf1e2); }
.summary-care small { display:block; color: var(--cos-gold); font-family: inherit; font-size: 15px; margin-top: 6px; }
.checkout-summary-card h2 { border-bottom: 1px solid var(--cos-line); padding-bottom: 18px; margin-bottom: 14px !important; }
#container-table-sumar { width:100% !important; }
#table-sumar { width:100% !important; border-collapse: collapse !important; background: transparent !important; color: var(--cos-text) !important; }
#table-sumar tr { background: transparent !important; border:0 !important; color: var(--cos-text) !important; text-shadow:none !important; }
#table-sumar td { padding: 12px 0 !important; border:0 !important; border-bottom:1px solid rgba(234,216,189,.75) !important; background: transparent !important; color: var(--cos-text) !important; font-size: 14px !important; vertical-align:top; }
#table-sumar td:nth-child(even) { text-align:right !important; font-weight:800; white-space:nowrap; }
#table-sumar .summary-product-row td { font-weight: 700; }
#table-sumar .summary-total-row td { border-bottom:0 !important; padding-top: 20px !important; font-family: Georgia, 'Times New Roman', serif !important; font-size: 22px !important; }
#table-sumar #total-cost { color: var(--cos-gold) !important; font-size: 26px !important; }
.summary-safe { display:grid; grid-template-columns: 44px 1fr; gap: 5px 14px; align-items:center; margin: 18px 0; padding: 16px; background: var(--cos-surface-soft); border:1px solid var(--cos-line); border-radius: 12px; }
.summary-safe i { grid-row: span 2; width:44px; height:44px; display:flex; align-items:center; justify-content:center; border:1px solid var(--cos-line); border-radius:50%; color:var(--cos-gold); }
.summary-safe span { color: var(--cos-muted); font-size:12px; }
#container-accept-terms { display:flex !important; align-items:flex-start; gap: 9px; margin: 14px 0 20px !important; padding:0 !important; }
#container-accept-terms label { line-height:1.35; color: var(--cos-text) !important; font-size:12px; width:auto !important; }
#container-accept-terms a { color: var(--cos-gold) !important; font-weight:800; }
#send-order, #send-order-no-auth { width: 100% !important; min-height: 58px !important; font-size: 15px !important; }
.summary-trust { text-align:center; color:var(--cos-muted); margin-top: 14px; font-size: 13px; }
.summary-trust i { color: var(--cos-gold); }

.cos-trust-strip { margin: 36px 0 0; padding: 18px 28px; display:flex; justify-content:center; gap: 48px; background: linear-gradient(90deg, transparent, #f6ead6, transparent); color: var(--cos-muted); }
.cos-trust-strip i { color: var(--cos-gold); margin-right: 8px; }

#box-info-autentificare .trap, #box-info-livrare > .trap, #box-info-livrare > .grey-text, #box-cart #cart-info, #cart-table table { display:none !important; }
#box-form-autentificare-cos .form { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
#box-form-autentificare-cos input[type=email], #box-form-autentificare-cos input[type=password] { width: min(280px,100%) !important; height: 46px !important; border:1px solid var(--cos-line) !important; border-radius:10px !important; padding:0 14px !important; }
#box-form-autentificare-cos .red-button { min-height:46px !important; }

@media (max-width: 1200px) {
  .cos-wrapper.wrapper { width: 94% !important; }
  .cos-cart-head, .cos-cart-item { grid-template-columns: 120px 1.3fr 120px 140px 130px 58px; gap: 12px; }
  .checkout-flow-user, .checkout-flow-guest #box-form-livrare > form { grid-template-columns: 1fr; }
  .checkout-flow-guest .checkout-summary-card { grid-column: 1; grid-row:auto; }
  .checkout-summary-card { position: static; }
}
@media (max-width: 860px) {
  .cos-page .bar-content { padding-top: 34px !important; }
  .cos-cart-head { display:none; }
  .cos-cart-item { grid-template-columns: 88px 1fr; }
  .cos-product-price, .cos-product-qty, .cos-product-total, .cos-product-remove { grid-column: 2; }
  .cos-product-img img { width:72px !important; height:72px !important; }
  .cos-cart-bottom { grid-template-columns: 1fr; }
  .cos-discount-box { grid-template-columns: 1fr; }
  .checkout-grid-modern, #box-form-livrare .grid.checkout-grid-modern, .checkout-options-grid, #delivery-type, #payment-type, #address-list { grid-template-columns: 1fr !important; }
  .cos-trust-strip { flex-direction:column; gap:12px; align-items:center; }
}

/* =========================================================
   V4 LAYOUT FIX: cart/form left + summary right from the top
   ========================================================= */
@media only screen and (min-width: 1001px) {
  .cos-page .cos-wrapper.wrapper {
    width: min(1320px, 94vw) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 380px !important;
    gap: 28px !important;
    align-items: start !important;
  }

  .cos-page .cos-hero,
  .cos-page .checkout-login-card,
  .cos-page .no-results {
    grid-column: 1 / -1 !important;
  }

  .cos-page #box-cart {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .cos-page #box-info-livrare.checkout-flow,
  .cos-page #box-info-livrare #box-form-livrare,
  .cos-page #box-info-livrare #box-form-livrare > form,
  .cos-page #box-info-livrare .checkout-main {
    display: contents !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cos-page .checkout-card-modern {
    grid-column: 1 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .cos-page .checkout-personal-card { grid-row: 3 !important; }
  .cos-page .checkout-delivery-card { grid-row: 4 !important; }
  .cos-page .checkout-payment-card { grid-row: 5 !important; }

  .cos-page #container-sumar-comanda.checkout-summary-card {
    grid-column: 2 !important;
    grid-row: 2 / span 4 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    align-self: start !important;
    position: sticky !important;
    top: 18px !important;
  }

  .cos-page .cos-trust-strip {
    grid-column: 1 / -1 !important;
  }
}

/* Cart card closer to the render */
.cos-page #box-cart.cos-cart-card {
  background: #fffdf9 !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 45px rgba(93, 64, 23, .08) !important;
}
.cos-page .cart-alert {
  background: #fffaf1 !important;
  border: 0 !important;
  border-bottom: 1px solid #ead8b8 !important;
  color: #21180d !important;
  padding: 12px 18px !important;
  margin: 0 !important;
  font-size: 13px !important;
}
.cos-page .cos-cart-head {
  background: #0d0f12 !important;
  color: #c9a45c !important;
  min-height: 48px !important;
  align-items: center !important;
  padding: 0 18px !important;
}
.cos-page .cos-cart-head span {
  letter-spacing: 2px !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
}
.cos-page .cos-cart-item {
  background: #f4ecdf !important;
  padding: 28px 18px !important;
  border-bottom: 1px solid #ead8b8 !important;
}
.cos-page .cos-product-img img {
  width: 96px !important;
  height: 96px !important;
  object-fit: contain !important;
  background: #fff !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 12px !important;
  padding: 8px !important;
}
.cos-page .cos-product-name strong {
  display:block !important;
  color: #080808 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}
.cos-page .cos-product-name small {
  display:block !important;
  color: #5e5348 !important;
  margin-top: 4px !important;
}
.cos-page .cos-product-name em {
  display:block !important;
  color: #00952c !important;
  font-style: normal !important;
  margin-top: 8px !important;
  font-weight: 700 !important;
}
.cos-page .cos-cart-bottom {
  background: #fffdf9 !important;
  padding: 20px 18px !important;
  border-bottom: 1px solid #ead8b8 !important;
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 22px !important;
}
.cos-page .cos-discount-box {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) 150px !important;
  gap: 14px !important;
  align-items: center !important;
}
.cos-page .cos-discount-box label {
  margin: 0 !important;
  color: #986b1f !important;
  font-weight: 800 !important;
}
.cos-page .cos-cart-mini-total {
  border: 1px solid #ead8b8 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  background: #fff !important;
}
.cos-page .cos-cart-actions {
  background: #fffdf9 !important;
  padding: 14px 18px !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  align-items: center !important;
}
.cos-page .cos-back-refresh {
  background: #fffdf9 !important;
  border-top: 1px solid #ead8b8 !important;
  padding: 14px 18px !important;
  margin: 0 !important;
}

/* Form cards */
.cos-page .checkout-card-modern {
  background: #fffdf9 !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 45px rgba(93, 64, 23, .08) !important;
  padding: 28px !important;
}
.cos-page .checkout-card-modern + .checkout-card-modern {
  margin-top: 0 !important;
}
.cos-page .checkout-card-modern h2 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 26px !important;
  line-height: 1.1 !important;
  color: #111 !important;
  margin: 0 0 22px !important;
}
.cos-page .checkout-card-modern h2 i,
.cos-page .checkout-summary-card h2 i {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #fff6e8 !important;
  border: 1px solid #ead8b8 !important;
  color: #d09a2a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 12px !important;
  font-size: 16px !important;
}
.cos-page .checkout-grid-modern,
.cos-page #box-form-livrare .grid.checkout-grid-modern {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px 22px !important;
}
.cos-page .checkout-field-full {
  grid-column: 1 / -1 !important;
}
.cos-page .checkout-options-grid,
.cos-page #delivery-type,
.cos-page #payment-type,
.cos-page #address-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}
.cos-page .checkout-option,
.cos-page .address {
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 16px !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 12px !important;
  background: #fff !important;
  font-weight: 700 !important;
}
.cos-page .checkout-option:has(input:checked),
.cos-page .address:has(input:checked) {
  border-color: #d09a2a !important;
  box-shadow: 0 0 0 3px rgba(208,154,42,.10) !important;
}

/* Summary: force white premium card; kill old black table look */
.cos-page #container-sumar-comanda.checkout-summary-card {
  background: #fffdf9 !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 22px 55px rgba(93,64,23,.12) !important;
  overflow: hidden !important;
}
.cos-page .summary-care {
  margin: -28px -28px 24px !important;
  padding: 28px !important;
  text-align: center !important;
  color: #111 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 20px !important;
  background: linear-gradient(135deg, rgba(255,250,241,.95), rgba(244,236,223,.95)) !important;
  border-bottom: 1px solid #ead8b8 !important;
}
.cos-page .summary-care small {
  display:block !important;
  margin-top: 6px !important;
  color: #b37b21 !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 13px !important;
}
.cos-page #container-table-sumar,
.cos-page #table-sumar,
.cos-page #table-sumar tbody,
.cos-page #table-sumar tr,
.cos-page #table-sumar td {
  background: transparent !important;
  color: #181818 !important;
  text-shadow: none !important;
}
.cos-page #table-sumar {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 0 18px !important;
  box-shadow: none !important;
}
.cos-page #table-sumar tr {
  border-bottom: 1px solid #ead8b8 !important;
}
.cos-page #table-sumar td {
  padding: 12px 0 !important;
  font-size: 14px !important;
}
.cos-page #table-sumar td:last-child {
  text-align: right !important;
  font-weight: 700 !important;
}
.cos-page #table-sumar .summary-product-row td {
  padding-top: 6px !important;
  color: #111 !important;
  font-weight: 700 !important;
}
.cos-page #table-sumar .summary-total-row td {
  border-bottom: 0 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 20px !important;
}
.cos-page #table-sumar .summary-total-row td:last-child,
.cos-page #total-cost {
  color: #c88d23 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}
.cos-page .summary-safe {
  display: grid !important;
  grid-template-columns: 44px 1fr !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 14px !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 12px !important;
  background: #fffaf1 !important;
  margin: 16px 0 !important;
}
.cos-page .summary-safe i {
  grid-row: 1 / span 2 !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  color: #d09a2a !important;
  background: #fff !important;
  border: 1px solid #ead8b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cos-page #send-order,
.cos-page #send-order-no-auth {
  width: 100% !important;
  height: 56px !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #d8a437, #c48a20) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  font-weight: 800 !important;
  letter-spacing: .8px !important;
  box-shadow: 0 14px 30px rgba(196,138,32,.25) !important;
  animation: none !important;
}

/* Mobile/tablet fallback */
@media only screen and (max-width: 1000px) {
  .cos-page .cos-wrapper.wrapper {
    width: 94% !important;
    display: block !important;
  }
  .cos-page #box-cart,
  .cos-page .checkout-card-modern,
  .cos-page #container-sumar-comanda.checkout-summary-card {
    margin-bottom: 18px !important;
  }
  .cos-page #container-sumar-comanda.checkout-summary-card {
    position: static !important;
  }
  .cos-page .cos-cart-head { display: none !important; }
  .cos-page .cos-cart-item { grid-template-columns: 96px 1fr !important; gap: 14px !important; }
  .cos-page .cos-product-price,
  .cos-page .cos-product-qty,
  .cos-page .cos-product-total,
  .cos-page .cos-product-remove { grid-column: 2 !important; justify-self: start !important; }
  .cos-page .cos-cart-bottom,
  .cos-page .cos-discount-box,
  .cos-page .checkout-grid-modern,
  .cos-page #box-form-livrare .grid.checkout-grid-modern,
  .cos-page .checkout-options-grid,
  .cos-page #delivery-type,
  .cos-page #payment-type,
  .cos-page #address-list {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   V5 FIX: real left column + sticky summary + sane widths
   ========================================================= */
@media only screen and (min-width: 1001px) {
  .cos-page .cos-wrapper.wrapper {
    width: min(1280px, calc(100vw - 96px)) !important;
    max-width: 1280px !important;
    grid-template-columns: minmax(0, 860px) 350px !important;
    column-gap: 26px !important;
    row-gap: 24px !important;
    justify-content: center !important;
  }

  .cos-page .cos-hero { grid-column: 1 / -1 !important; grid-row: 1 !important; }
  .cos-page #box-cart { grid-column: 1 !important; grid-row: 2 !important; }

  /* Login belongs in the left checkout flow, right after cart, not at the page bottom. */
  .cos-page #box-info-autentificare.checkout-login-card {
    grid-column: 1 !important;
    grid-row: 3 !important;
    width: auto !important;
    margin: 0 !important;
  }

  .cos-page .checkout-personal-card { grid-column: 1 !important; grid-row: 4 !important; }
  .cos-page .checkout-delivery-card { grid-column: 1 !important; grid-row: 5 !important; }
  .cos-page .checkout-payment-card { grid-column: 1 !important; grid-row: 6 !important; }

  .cos-page #container-sumar-comanda.checkout-summary-card {
    grid-column: 2 !important;
    grid-row: 2 / span 6 !important;
    width: 350px !important;
    min-width: 0 !important;
    max-width: 350px !important;
    margin: 0 !important;
    position: sticky !important;
    top: 18px !important;
    align-self: start !important;

  }

  .cos-page .cos-trust-strip { grid-column: 1 / -1 !important; grid-row: 7 !important; }
}

/* Reduce the oversized cart proportions and keep all columns inside the left card. */
.cos-page .cos-cart-head,
.cos-page .cos-cart-item {
  grid-template-columns: 126px minmax(180px,1fr) 98px 130px 104px 46px !important;
  gap: 16px !important;
}
.cos-page .cos-cart-head { padding: 0 18px !important; }
.cos-page .cos-cart-item { padding: 26px 18px !important; }
.cos-page .cos-product-name { min-width: 0 !important; }
.cos-page .cos-product-name strong { max-width: 260px !important; }
.cos-page .cos-product-price,
.cos-page .cos-product-total { white-space: nowrap !important; font-weight: 800 !important; color: #0f0f0f !important; }
.cos-page .cos-product-remove .red-button {
  width: 38px !important; height: 38px !important; min-width: 38px !important;
  border-radius: 50% !important; padding: 0 !important; display: inline-flex !important;
  align-items: center !important; justify-content: center !important; background: #fff !important;
  border: 1px solid #ead8b8 !important; color: #c8912b !important; box-shadow: none !important;
}

.cos-page .cos-cart-bottom {
  grid-template-columns: minmax(0,1fr) 300px !important;
  gap: 18px !important;
  align-items: center !important;
}
.cos-page .cos-discount-box {
  grid-template-columns: 210px minmax(160px,1fr) 132px !important;
  gap: 12px !important;
}
.cos-page .cos-discount-box input { min-width: 0 !important; }
.cos-page .cos-discount-box .black-button { min-width: 132px !important; padding-left: 16px !important; padding-right: 16px !important; }
.cos-page .cos-cart-actions { justify-content: flex-end !important; }
.cos-page .cos-back-refresh { display: flex !important; justify-content: flex-start !important; }

/* Auth card: compact horizontal form, no full-width page takeover. */
.cos-page #box-info-autentificare.checkout-login-card {
  background: #fffdf9 !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 18px !important;
  padding: 24px !important;
  box-shadow: 0 18px 45px rgba(93,64,23,.08) !important;
}
.cos-page #box-info-autentificare #box-form-autentificare-cos form {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto auto !important;
  gap: 14px !important;
  align-items: center !important;
}
.cos-page #box-info-autentificare input[type="email"],
.cos-page #box-info-autentificare input[type="password"] {
  width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
}
.cos-page #box-info-autentificare .red-button {
  height: 46px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Checkout form widths: no cramped cards. */
.cos-page .checkout-card-modern { padding: 26px !important; }
.cos-page .checkout-grid-modern,
.cos-page #box-form-livrare .grid.checkout-grid-modern {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px 18px !important;
}
.cos-page .checkout-grid-modern label,
.cos-page #box-form-livrare label {
  display: block !important;
  margin: 0 0 7px !important;
  line-height: 1.25 !important;
  color: #111 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}
.cos-page #box-form-livrare input,
.cos-page #box-form-livrare select,
.cos-page #box-form-livrare textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.cos-page .checkout-textarea { min-height: 92px !important; }

.cos-page .checkout-options-grid,
.cos-page #delivery-type,
.cos-page #payment-type,
.cos-page #address-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.cos-page .checkout-option,
.cos-page .address {
  min-height: 58px !important;
  padding: 14px 16px !important;
  align-items: center !important;
}
.cos-page .checkout-option label,
.cos-page .address label {
  margin: 0 !important;
  line-height: 1.3 !important;
}
.cos-page .delivery-text {
  margin-top: 16px !important;
  padding: 18px !important;
  border-radius: 12px !important;
  background: #fff7ea !important;
  border: 1px solid #ead8b8 !important;
}

/* Summary card: wipe the old black #table-sumar rules completely. */
.cos-page #container-sumar-comanda.checkout-summary-card,
.cos-page #container-sumar-comanda.checkout-summary-card * {
  text-shadow: none !important;
}
.cos-page #container-table-sumar {
  background: #fffdf9 !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
}
.cos-page #container-table-sumar table,
.cos-page #container-table-sumar tbody,
.cos-page #container-table-sumar tr,
.cos-page #container-table-sumar td,
.cos-page #table-sumar,
.cos-page #table-sumar tbody,
.cos-page #table-sumar tr,
.cos-page #table-sumar td {
  background: #fffdf9 !important;
  color: #171717 !important;
  border-color: #ead8b8 !important;
  box-shadow: none !important;
}
.cos-page #table-sumar {
  width: 100% !important;
  border-collapse: collapse !important;
  border-top: 1px solid #ead8b8 !important;
}
.cos-page #table-sumar tr { border-bottom: 1px solid #ead8b8 !important; }
.cos-page #table-sumar tr:last-child { background: #fffdf9 !important; border-bottom: 0 !important; }
.cos-page #table-sumar td {
  padding: 13px 0 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}
.cos-page #table-sumar td:first-child { color: #171717 !important; }
.cos-page #table-sumar td:last-child { color: #171717 !important; text-align: right !important; font-weight: 800 !important; }
.cos-page #table-sumar .summary-product-row td:first-child { color: #c8912b !important; font-weight: 800 !important; }
.cos-page #table-sumar .summary-total-row td,
.cos-page #table-sumar .summary-total-row b {
  font-family: Georgia, 'Times New Roman', serif !important;
  color: #171717 !important;
  font-size: 20px !important;
}
.cos-page #table-sumar .summary-total-row td:last-child,
.cos-page #total-cost {
  color: #c8912b !important;
  font-size: 26px !important;
  white-space: nowrap !important;
}
.cos-page #container-accept-terms,
.cos-page #container-accept-terms label,
.cos-page #container-accept-terms a {
  color: #171717 !important;
}
.cos-page .summary-trust span { color: #8a8075 !important; opacity: 1 !important; }

@media only screen and (max-width: 1180px) and (min-width: 1001px) {
  .cos-page .cos-wrapper.wrapper {
    width: min(1120px, calc(100vw - 44px)) !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 20px !important;
  }
  .cos-page #container-sumar-comanda.checkout-summary-card { width: 330px !important; max-width: 330px !important; }
  .cos-page .cos-cart-head,
  .cos-page .cos-cart-item { grid-template-columns: 106px minmax(160px,1fr) 86px 120px 94px 38px !important; gap: 10px !important; }
  .cos-page .cos-product-img img { width: 86px !important; height: 86px !important; }
  .cos-page .cos-discount-box { grid-template-columns: 1fr !important; }
  .cos-page .cos-cart-bottom { grid-template-columns: 1fr !important; }
}

@media only screen and (max-width: 760px) {
  .cos-page #box-info-autentificare #box-form-autentificare-cos form,
  .cos-page .checkout-grid-modern,
  .cos-page #box-form-livrare .grid.checkout-grid-modern,
  .cos-page .checkout-options-grid,
  .cos-page #delivery-type,
  .cos-page #payment-type,
  .cos-page #address-list {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   V6: closer to render - clean white cart + premium right summary
   ========================================================= */
.cos-page .cos-wrapper.wrapper { overflow: visible !important; }

@media only screen and (min-width: 1001px) {
  .cos-page .cos-wrapper.wrapper {
    width: min(1360px, calc(100vw - 88px)) !important;
    max-width: 1360px !important;
    grid-template-columns: minmax(0, 900px) 370px !important;
    gap: 28px !important;
  }
  .cos-page #container-sumar-comanda.checkout-summary-card {
    width: 370px !important;
    max-width: 370px !important;
    grid-row: 2 / span 10 !important;
    top: 22px !important;
  }
}

.cos-page #box-cart.cos-cart-card { background: #fffdf9 !important; border-radius: 16px !important; border: 1px solid #ead8bd !important; box-shadow: 0 18px 44px rgba(104,76,37,.08) !important; }
.cos-page .cos-cart-head { background: #fffdf9 !important; color: #9b6f22 !important; border-bottom: 1px solid #ead8bd !important; min-height: 54px !important; padding: 0 22px !important; }
.cos-page .cos-cart-head span { font-size: 11px !important; letter-spacing: .13em !important; font-weight: 900 !important; color: #9b6f22 !important; }
.cos-page .cart-alert { background: #fffaf2 !important; font-size: 13px !important; line-height: 1.45 !important; }
.cos-page .cos-cart-item { background: #fffdf9 !important; grid-template-columns: 132px minmax(210px,1fr) 120px 138px 116px 42px !important; gap: 18px !important; padding: 26px 22px !important; }
.cos-page .cos-product-img img { width: 96px !important; height: 96px !important; padding: 10px !important; background: #fff !important; border-radius: 12px !important; }
.cos-page .cos-product-name strong { max-width: none !important; font-size: 16px !important; font-weight: 800 !important; color: #12100d !important; }
.cos-page .cos-product-price, .cos-page .cos-product-total { font-size: 15px !important; color: #12100d !important; }
.cos-page .cos-product-qty label { color: #7a6d5f !important; font-size: 12px !important; }
.cos-page .cos-product-qty input[type=number] { width: 72px !important; height: 42px !important; border-radius: 10px !important; border-color: #e7d4b6 !important; background: #fff !important; }
.cos-page .cos-cart-bottom { background: #fffdf9 !important; grid-template-columns: minmax(0,1fr) 280px !important; padding: 22px !important; }
.cos-page .cos-discount-box { grid-template-columns: 210px minmax(0,1fr) 146px !important; }
.cos-page .cos-discount-box label { color: #8f681d !important; font-weight: 800 !important; }
.cos-page .cos-cart-mini-total { background: #fff !important; }
.cos-page .cos-cart-mini-total .cos-cart-total-line strong { font-size: 23px !important; }

.cos-page #container-sumar-comanda.checkout-summary-card { padding: 0 !important; overflow: hidden !important; border-radius: 18px !important; background: #fffdf9 !important; border: 1px solid #ead8bd !important; box-shadow: 0 24px 58px rgba(93,64,23,.13) !important; }
.cos-page .summary-care { margin: 0 !important; padding: 26px 24px 24px !important; background: linear-gradient(135deg,#fffaf3 0%, #f7ecda 100%) !important; border-bottom: 1px solid #ead8bd !important; font-family: Georgia,'Times New Roman',serif !important; font-size: 21px !important; text-align: center !important; color: #16110b !important; position: relative; }
.cos-page .summary-care:before { content:""; position:absolute; left:22px; top:22px; width:52px; height:52px; opacity:.35; background: radial-gradient(circle at 20% 20%, transparent 0 35%, #d7a13a 36% 39%, transparent 40%), linear-gradient(45deg, transparent 45%, #d7a13a 46% 48%, transparent 49%); }
.cos-page .summary-care small { display:block !important; margin-top:7px !important; color:#b37a1d !important; font-size:13px !important; font-family:'Open Sans',Arial,sans-serif !important; }
.cos-page .summary-heading { display:grid !important; grid-template-columns:48px 1fr !important; gap:14px !important; align-items:center !important; padding:24px 24px 18px !important; }
.cos-page .summary-heading-icon { width:44px !important; height:44px !important; border-radius:50% !important; display:flex !important; align-items:center !important; justify-content:center !important; background:#fff6e8 !important; border:1px solid #ead8bd !important; color:#d09a2a !important; font-size:17px !important; }
.cos-page .summary-heading h2 { display:block !important; margin:0 !important; padding:0 !important; border:0 !important; font-family:Georgia,'Times New Roman',serif !important; font-size:29px !important; line-height:1.1 !important; font-weight:500 !important; color:#15110c !important; }
.cos-page .summary-heading p { margin:8px 0 0 !important; color:#6e6256 !important; font-size:13px !important; }
.cos-page .summary-products { margin:0 24px !important; padding:0 0 18px !important; border-top:1px solid #ead8bd !important; border-bottom:1px solid #ead8bd !important; }
.cos-page .summary-product-card { display:grid !important; grid-template-columns:56px minmax(0,1fr) auto !important; gap:12px !important; align-items:center !important; padding:18px 0 0 !important; }
.cos-page .summary-product-thumb img { width:52px !important; height:52px !important; object-fit:contain !important; padding:6px !important; border-radius:10px !important; border:1px solid #f0dfc4 !important; background:#fff !important; }
.cos-page .summary-product-info { min-width:0 !important; }
.cos-page .summary-product-info strong { display:block !important; color:#17120c !important; font-weight:800 !important; font-size:13px !important; line-height:1.25 !important; }
.cos-page .summary-product-info small { display:block !important; color:#7c7064 !important; font-size:12px !important; margin-top:3px !important; }
.cos-page .summary-product-info em { display:block !important; color:#7c7064 !important; font-size:12px !important; margin-top:6px !important; font-style:normal !important; }
.cos-page .summary-product-price { color:#17120c !important; font-weight:800 !important; font-size:13px !important; white-space:nowrap !important; }
.cos-page .summary-totals-wrap { margin:0 24px !important; padding:12px 0 0 !important; }
.cos-page #table-sumar, .cos-page #container-table-sumar table { width:100% !important; border:0 !important; border-collapse:collapse !important; background:transparent !important; box-shadow:none !important; margin:0 !important; }
.cos-page #table-sumar tr, .cos-page #container-table-sumar tr { border:0 !important; border-bottom:1px solid rgba(234,216,189,.75) !important; background:transparent !important; }
.cos-page #table-sumar td, .cos-page #container-table-sumar td { padding:11px 0 !important; border:0 !important; background:transparent !important; color:#17120c !important; font-size:14px !important; line-height:1.35 !important; }
.cos-page #table-sumar td:last-child, .cos-page #container-table-sumar td:last-child { text-align:right !important; font-weight:800 !important; white-space:nowrap !important; }
.cos-page #table-sumar .summary-product-row { display:none !important; }
.cos-page #table-sumar .summary-total-row, .cos-page #container-table-sumar tr:last-child { border-bottom:0 !important; }
.cos-page #table-sumar .summary-total-row td, .cos-page #container-table-sumar tr:last-child td { padding-top:17px !important; font-family:Georgia,'Times New Roman',serif !important; font-size:21px !important; color:#17120c !important; }
.cos-page #table-sumar .summary-total-row td:last-child, .cos-page #total-cost, .cos-page #container-table-sumar tr:last-child td:last-child { color:#c88d23 !important; font-size:27px !important; font-weight:800 !important; }
.cos-page .summary-safe { margin:18px 24px 0 !important; display:grid !important; grid-template-columns:46px 1fr !important; gap:3px 13px !important; padding:14px !important; background:#fff8ed !important; border:1px solid #ead8bd !important; border-radius:13px !important; }
.cos-page .summary-safe i { grid-row:1 / span 2 !important; width:42px !important; height:42px !important; display:flex !important; align-items:center !important; justify-content:center !important; border-radius:50% !important; color:#d09a2a !important; border:1px solid #ead8bd !important; background:#fff !important; }
.cos-page .summary-safe strong { color:#17120c !important; font-size:13px !important; }
.cos-page .summary-safe span { color:#6e6256 !important; font-size:12px !important; }
.cos-page .summary-benefits { display:grid !important; grid-template-columns:repeat(3,1fr) !important; gap:8px !important; margin:18px 24px 0 !important; padding:16px 0 0 !important; border-top:1px solid #ead8bd !important; text-align:center !important; }
.cos-page .summary-benefits i { color:#d09a2a !important; font-size:16px !important; display:block !important; margin-bottom:7px !important; }
.cos-page .summary-benefits strong { display:block !important; font-size:11px !important; color:#17120c !important; line-height:1.25 !important; }
.cos-page .summary-benefits small { display:block !important; font-size:10px !important; color:#7c7064 !important; margin-top:3px !important; }
.cos-page #container-accept-terms { margin:18px 24px 0 !important; display:grid !important; grid-template-columns:18px 1fr !important; gap:10px !important; align-items:start !important; }
.cos-page #container-accept-terms input { width:17px !important; height:17px !important; accent-color:#c9952d !important; }
.cos-page #container-accept-terms label { font-size:12px !important; line-height:1.38 !important; color:#17120c !important; }
.cos-page #container-accept-terms a { color:#c9952d !important; font-weight:800 !important; }
.cos-page #send-order, .cos-page #send-order-no-auth { width:calc(100% - 48px) !important; margin:20px 24px 0 !important; height:58px !important; border-radius:12px !important; font-size:14px !important; letter-spacing:.08em !important; }
.cos-page .summary-trust { margin:12px 24px 26px !important; text-align:center !important; color:#7c7064 !important; font-size:12px !important; }
.cos-page .summary-trust i { color:#c9952d !important; }
.cos-page .checkout-card-modern { background:#fffdf9 !important; padding:24px 26px !important; }
.cos-page .checkout-card-modern h2 { font-size:25px !important; }

@media only screen and (max-width:1180px) and (min-width:1001px) {
  .cos-page .cos-wrapper.wrapper { grid-template-columns:minmax(0,1fr) 350px !important; }
  .cos-page #container-sumar-comanda.checkout-summary-card { width:350px !important; max-width:350px !important; }
  .cos-page .summary-heading h2 { font-size:26px !important; }
  .cos-page .summary-benefits { grid-template-columns:1fr !important; text-align:left !important; }
  .cos-page .summary-benefits span { display:grid !important; grid-template-columns:22px 1fr !important; column-gap:8px !important; align-items:start !important; }
  .cos-page .summary-benefits i { margin:0 !important; }
}

/* =========================================================
   V7 FIXES — layout spacing + non-sticky summary
   ========================================================= */
@media only screen and (min-width: 1001px) {
  /* Main page grid: keep real space between left content and right summary */
  .cos-page .cos-wrapper.wrapper {
    width: min(92vw, 1480px) !important;
    max-width: 1480px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    column-gap: 42px !important;
    row-gap: 24px !important;
    align-items: start !important;
    overflow: visible !important;
  }

  .cos-page #box-cart,
  .cos-page #box-info-livrare,
  .cos-page .checkout-login-card,
  .cos-page .checkout-card-modern,
  .cos-page .cos-trust-strip {
    grid-column: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* The old v6 rule used width:100%; it can make cards visually press into the summary area in this template. */
  .cos-page .checkout-card-modern {
    width: auto !important;
    box-sizing: border-box !important;
  }

  /* Summary belongs to the right column, but should not follow the whole page while scrolling. */
  .cos-page #container-sumar-comanda.checkout-summary-card {
    grid-column: 2 !important;
    grid-row: 2 / span 5 !important;
    width: 360px !important;
    max-width: 360px !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    align-self: start !important;
    justify-self: start !important;
  }

  /* The form wrappers should not create an extra 100%-wide nested layout that overlaps the sidebar. */
  .cos-page #box-info-livrare.checkout-flow,
  .cos-page #box-info-livrare #box-form-livrare,
  .cos-page #box-info-livrare #box-form-livrare > form,
  .cos-page #box-info-livrare .checkout-main {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* Cart: slightly tighter left table so it feels closer to the render and does not crowd the sidebar. */
@media only screen and (min-width: 1001px) {
  .cos-page .cos-cart-head,
  .cos-page .cos-cart-item {
    grid-template-columns: 118px minmax(190px, 1fr) 105px 128px 105px 42px !important;
    gap: 16px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .cos-page .cos-product-img img {
    width: 86px !important;
    height: 86px !important;
  }
  .cos-page .cos-cart-bottom {
    grid-template-columns: minmax(0, 1fr) 250px !important;
    gap: 18px !important;
  }
  .cos-page .cos-discount-box {
    grid-template-columns: 220px minmax(0, 1fr) 150px !important;
  }
}

/* Summary typography/layout polish to match the render more closely. */
.cos-page #container-sumar-comanda.checkout-summary-card {
  font-family: 'Open Sans', Arial, sans-serif !important;
}
.cos-page .summary-heading h2 {
  font-size: 30px !important;
  letter-spacing: -0.02em !important;
}
.cos-page .summary-product-card {
  grid-template-columns: 58px minmax(0, 1fr) 68px !important;
}
.cos-page .summary-product-info strong {
  font-size: 14px !important;
  line-height: 1.22 !important;
}
.cos-page .summary-product-price {
  text-align: right !important;
}
.cos-page #table-sumar td,
.cos-page #container-table-sumar td {
  font-size: 13px !important;
}
.cos-page #table-sumar .summary-total-row td,
.cos-page #container-table-sumar tr:last-child td {
  font-size: 20px !important;
}
.cos-page #table-sumar .summary-total-row td:last-child,
.cos-page #total-cost,
.cos-page #container-table-sumar tr:last-child td:last-child {
  font-size: 28px !important;
}

/* On medium desktop, keep two columns but reduce right panel and gap. */
@media only screen and (min-width: 1001px) and (max-width: 1280px) {
  .cos-page .cos-wrapper.wrapper {
    width: 94vw !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    column-gap: 28px !important;
  }
  .cos-page #container-sumar-comanda.checkout-summary-card {
    width: 340px !important;
    max-width: 340px !important;
  }
  .cos-page .cos-cart-head,
  .cos-page .cos-cart-item {
    grid-template-columns: 100px minmax(160px, 1fr) 90px 116px 90px 36px !important;
    gap: 12px !important;
  }
  .cos-page .cos-discount-box {
    grid-template-columns: 180px minmax(0, 1fr) 132px !important;
  }
  .cos-page .summary-benefits {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }
}

/* =========================================================
   V8 — Cart polishing: render-like cart, +/- qty, no duplicate totals
   ========================================================= */
.cos-page .cos-cart-card {
  overflow: hidden !important;
}

.cos-page .cos-cart-head,
.cos-page .cos-cart-item {
  grid-template-columns: 132px minmax(260px, 1fr) 120px 154px 116px 44px !important;
  gap: 18px !important;
  align-items: center !important;
}

.cos-page .cos-cart-head {
  background: #fffdf8 !important;
  color: #9b6f22 !important;
  min-height: 56px !important;
  padding: 0 24px !important;
  border-bottom: 1px solid #ead8bd !important;
}

.cos-page .cos-cart-head span {
  font-size: 11px !important;
  letter-spacing: .16em !important;
  font-weight: 900 !important;
  color: #9b6f22 !important;
  text-transform: uppercase !important;
}

.cos-page .cos-cart-head-remove {
  color: transparent !important;
  font-size: 0 !important;
}

.cos-page .cos-cart-item {
  padding: 28px 24px !important;
  background: #fffaf2 !important;
  border-bottom: 1px solid #ead8bd !important;
}

.cos-page .cos-product-img {
  width: 118px !important;
  height: 118px !important;
  border: 1px solid #ead8bd !important;
  border-radius: 14px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cos-page .cos-product-img img {
  max-width: 82px !important;
  max-height: 92px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.cos-page .cos-product-name strong {
  max-width: 360px !important;
  font-size: 17px !important;
  line-height: 1.24 !important;
  font-weight: 900 !important;
  color: #050505 !important;
}
.cos-page .cos-product-name small {
  margin-top: 6px !important;
  font-size: 13px !important;
  color: #67584b !important;
}
.cos-page .cos-product-name em {
  color: #039d31 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.cos-page .cos-product-price,
.cos-page .cos-product-total {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #050505 !important;
  white-space: nowrap !important;
}

.cos-page .cos-product-qty label,
.cos-page .cos-qty-update {
  display: none !important;
}

.cos-page .cos-qty-stepper {
  display: inline-grid !important;
  grid-template-columns: 38px 46px 38px !important;
  align-items: center !important;
  height: 42px !important;
  border: 1px solid #ead8bd !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.cos-page .cos-qty-stepper input[type=number] {
  width: 46px !important;
  height: 40px !important;
  min-height: 40px !important;
  border: 0 !important;
  border-left: 1px solid #f0dfc5 !important;
  border-right: 1px solid #f0dfc5 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  color: #111 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  background: #fff !important;
  box-shadow: none !important;
  -moz-appearance: textfield !important;
}
.cos-page .cos-qty-stepper input[type=number]::-webkit-outer-spin-button,
.cos-page .cos-qty-stepper input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.cos-page .cos-qty-btn {
  width: 38px !important;
  height: 40px !important;
  min-height: 40px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #c99228 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  transition: background .15s ease, color .15s ease !important;
}
.cos-page .cos-qty-btn:hover {
  background: #fff6e8 !important;
  color: #9b6f22 !important;
}

.cos-page .cos-product-remove {
  justify-self: end !important;
}
.cos-page .cos-product-remove .red-button.cos-remove-link,
.cos-page .cos-product-remove .red-button {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #ead8bd !important;
  border-radius: 50% !important;
  background: #fffdf9 !important;
  color: #c99228 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 21px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
}
.cos-page .cos-product-remove .red-button:hover {
  background: #fff3df !important;
  border-color: #d19a2b !important;
  color: #9b6f22 !important;
  transform: none !important;
}
.cos-page .cos-product-remove .red-button .fa { display: none !important; }

.cos-page .cos-cart-bottom {
  display: block !important;
  padding: 22px 24px !important;
  background: #fffdf9 !important;
  border-bottom: 1px solid #ead8bd !important;
}
.cos-page .cos-discount-box {
  display: grid !important;
  grid-template-columns: minmax(220px, 330px) minmax(240px, 1fr) 160px !important;
  gap: 18px !important;
  align-items: center !important;
  max-width: 880px !important;
}
.cos-page .cos-discount-box label {
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #8c621b !important;
  margin: 0 !important;
}
.cos-page .cos-discount-box input {
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 10px !important;
}
.cos-page .cos-discount-box .black-button {
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 20px !important;
  border-radius: 10px !important;
}
.cos-page .cos-cart-mini-total {
  display: none !important;
}

.cos-page .cos-cart-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 18px 24px !important;
  background: #fffdf9 !important;
}
.cos-page .cos-cart-update-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.cos-page .cos-continue-shopping,
.cos-page .cos-empty-cart {
  min-height: 44px !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}
.cos-page .cos-continue-shopping {
  padding: 0 22px !important;
  background: #fff !important;
  color: #c99228 !important;
  border: 1px solid #d8a13a !important;
}
.cos-page .cos-empty-cart {
  padding: 0 18px !important;
  color: #9b6f22 !important;
  border: 1px solid #ead8bd !important;
  background: #fff !important;
}
.cos-page .cos-empty-cart span {
  display: inline !important;
}
.cos-page .cos-empty-cart:hover,
.cos-page .cos-continue-shopping:hover {
  background: #fff6e8 !important;
  color: #8c621b !important;
}

/* Keep the right summary fixed in the layout, not sticky/following scroll */
.cos-page #container-sumar-comanda.checkout-summary-card {
  position: static !important;
  top: auto !important;
  align-self: start !important;
  box-sizing: border-box !important;
}
.cos-page #send-order,
.cos-page #send-order-no-auth {
  width: 100% !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

@media only screen and (max-width: 1180px) {
  .cos-page .cos-cart-head,
  .cos-page .cos-cart-item {
    grid-template-columns: 106px minmax(170px,1fr) 84px 120px 90px 36px !important;
    gap: 10px !important;
  }
  .cos-page .cos-discount-box {
    grid-template-columns: 1fr !important;
    max-width: none !important;
  }
}

@media only screen and (max-width: 760px) {
  .cos-page .cos-cart-head { display: none !important; }
  .cos-page .cos-cart-item {
    grid-template-columns: 96px 1fr !important;
    padding: 20px 16px !important;
  }
  .cos-page .cos-product-img { width: 88px !important; height: 88px !important; }
  .cos-page .cos-product-name,
  .cos-page .cos-product-price,
  .cos-page .cos-product-qty,
  .cos-page .cos-product-total,
  .cos-page .cos-product-remove {
    grid-column: 2 !important;
    justify-self: start !important;
  }
  .cos-page .cos-product-remove {
    position: absolute !important;
    right: 16px !important;
    top: 20px !important;
  }
  .cos-page .cos-cart-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .cos-page .cos-continue-shopping,
  .cos-page .cos-empty-cart {
    width: 100% !important;
  }
}

/* =========================================================
   V9 polish pass based on live screenshots
   - empty cart centered
   - cleaner cart table closer to render
   - visible gold remove button
   - lighter premium typography
   - spacing fixes for delivery/address/payment
   - trust bar below payment and full width
   ========================================================= */

@media only screen and (min-width: 1001px) {
  .cos-page .cos-wrapper.wrapper {
    width: min(1380px, calc(100vw - 92px)) !important;
    max-width: 1380px !important;
    grid-template-columns: minmax(0, 920px) 360px !important;
    column-gap: 46px !important;
  }

  .cos-page #container-sumar-comanda.checkout-summary-card {
    width: 360px !important;
    max-width: 360px !important;
    position: static !important;
    top: auto !important;
  }

  .cos-page .checkout-personal-card,
  .cos-page .checkout-delivery-card,
  .cos-page .checkout-payment-card,
  .cos-page #box-info-autentificare.checkout-login-card,
  .cos-page #box-cart {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .cos-page .cos-trust-strip {
    grid-column: 1 / -1 !important;
    grid-row: 7 !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
}

/* Empty cart: no useless right column, centered empty state */
.cos-page .cos-cart-card-empty {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media only screen and (min-width: 1001px) {
  .cos-page .cos-cart-card-empty {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: center !important;
    width: min(900px, 100%) !important;
  }
}
.cos-page .cos-cart-card-empty .cos-cart-head {
  display: none !important;
}
.cos-page .cos-cart-card-empty .cos-empty {
  min-height: 170px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  color: #6d6257 !important;
}
.cos-page .cos-cart-card-empty .cos-empty:before {
  content: "\f07a";
  font-family: FontAwesome;
  width: 44px;
  height: 44px;
  margin-right: 14px;
  border-radius: 50%;
  border: 1px solid #ead8b8;
  background: #fff8ec;
  color: #c9952d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Cart header and rows: remove visual delete header, make it more elegant */
.cos-page .cos-cart-head,
.cos-page .cos-cart-item {
  grid-template-columns: 126px minmax(240px, 1fr) 112px 150px 112px 44px !important;
  gap: 18px !important;
}
.cos-page .cos-cart-head {
  background: #fffdf9 !important;
  border-bottom: 1px solid #ead8b8 !important;
  color: #9b6a18 !important;
  min-height: 58px !important;
  padding: 0 22px !important;
}
.cos-page .cos-cart-head span {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 2.7px !important;
}
.cos-page .cos-cart-head-remove {
  display: none !important;
}
.cos-page .cos-cart-item {
  background: #fffaf2 !important;
  padding: 26px 22px !important;
}
.cos-page .cos-product-name strong {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  letter-spacing: -.01em !important;
  max-width: none !important;
}
.cos-page .cos-product-name small {
  font-size: 13px !important;
  color: #6c6259 !important;
  font-weight: 400 !important;
}
.cos-page .cos-product-name em {
  color: #159336 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}
.cos-page .cos-product-price,
.cos-page .cos-product-total {
  font-size: 15px !important;
  font-weight: 650 !important;
  color: #121212 !important;
}

/* Remove product X: visible gold circle, not white-on-white */
.cos-page .cos-product-remove {
  justify-self: end !important;
}
.cos-page .cos-product-remove .cos-remove-link,
.cos-page .cos-product-remove .red-button.cos-remove-link {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 999px !important;
  padding: 0 !important;
  background: #fff7e8 !important;
  border: 1px solid #e2bf82 !important;
  color: #c9952d !important;
  -webkit-text-fill-color: #c9952d !important;
  box-shadow: 0 8px 18px rgba(201, 149, 45, .10) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
.cos-page .cos-product-remove .cos-remove-link span {
  color: #c9952d !important;
  -webkit-text-fill-color: #c9952d !important;
  position: relative;
  top: -1px;
}
.cos-page .cos-product-remove .cos-remove-link:hover {
  background: #c9952d !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #c9952d !important;
}
.cos-page .cos-product-remove .cos-remove-link:hover span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Quantity buttons: render-like segmented control */
.cos-page .cos-qty-stepper {
  display: inline-grid !important;
  grid-template-columns: 38px 46px 38px !important;
  height: 38px !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 9px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.cos-page .cos-qty-btn {
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  background: #fff !important;
  color: #c9952d !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.cos-page .cos-qty-btn:hover { background: #fff6e6 !important; }
.cos-page .cos-qty-stepper input[type=number] {
  width: 46px !important;
  height: 38px !important;
  min-height: 38px !important;
  border: 0 !important;
  border-left: 1px solid #ead8b8 !important;
  border-right: 1px solid #ead8b8 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-weight: 600 !important;
  background: #fff !important;
  -moz-appearance: textfield;
}
.cos-page .cos-qty-stepper input[type=number]::-webkit-outer-spin-button,
.cos-page .cos-qty-stepper input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Cart bottom: no repeated subtotal, simple actions left/right */
.cos-page .cos-cart-bottom {
  display: block !important;
  padding: 24px 22px !important;
  background: #fffdf9 !important;
}
.cos-page .cos-discount-box {
  grid-template-columns: 280px minmax(0, 1fr) 170px !important;
  max-width: 820px !important;
}
.cos-page .cos-discount-box label {
  font-weight: 650 !important;
  color: #8a5f18 !important;
}
.cos-page .cos-cart-mini-total { display: none !important; }
.cos-page .cos-cart-actions {
  justify-content: space-between !important;
  align-items: center !important;
  padding: 18px 22px !important;
}
.cos-page .cos-cart-update-hidden { display: none !important; }
.cos-page .cos-empty-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  border: 1px solid #ead8b8 !important;
  background: #fff8ec !important;
  color: #9b6a18 !important;
  -webkit-text-fill-color: #9b6a18 !important;
  text-decoration: none !important;
  font-weight: 650 !important;
}
.cos-page .cos-empty-cart:hover {
  border-color: #c9952d !important;
  color: #c9952d !important;
  -webkit-text-fill-color: #c9952d !important;
}
.cos-page .cos-continue-shopping {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border: 1px solid #c9952d !important;
  border-radius: 9px !important;
  color: #c9952d !important;
  -webkit-text-fill-color: #c9952d !important;
  text-decoration: none !important;
  background: transparent !important;
  font-weight: 500 !important;
}

/* Summary panel: keep readable without scrolling/following */
.cos-page .checkout-summary-card {
  position: static !important;
}
.cos-page .summary-heading h2 {
  font-weight: 500 !important;
}
.cos-page .summary-product-info strong {
  font-weight: 650 !important;
  line-height: 1.18 !important;
}
.cos-page .summary-product-info small,
.cos-page .summary-product-info em {
  font-weight: 400 !important;
}
.cos-page #table-sumar td {
  font-weight: 400 !important;
}
.cos-page #table-sumar td:last-child {
  font-weight: 650 !important;
}
.cos-page #table-sumar .summary-total-row td:first-child {
  font-size: 22px !important;
  color: #111 !important;
}
.cos-page #table-sumar .summary-total-row td:last-child,
.cos-page #total-cost {
  font-size: 30px !important;
  line-height: 1 !important;
  color: #c9952d !important;
}

/* Forms: premium lighter text and no overflow */
.cos-page .checkout-card-modern {
  overflow: visible !important;
}
.cos-page .checkout-card-modern h2 {
  margin-bottom: 26px !important;
}
.cos-page .checkout-grid-modern,
.cos-page #box-form-livrare .grid.checkout-grid-modern {
  /* grid-template-columns: repeat(3, minmax(210px, 1fr)) !important; */
  gap: 18px 22px !important;
}
.cos-page .checkout-grid-modern > div { min-width: 0 !important; }
.cos-page .checkout-grid-modern label,
.cos-page #box-form-livrare label {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #171717 !important;
}
.cos-page .checkout-card-modern input[type=text],
.cos-page .checkout-card-modern input[type=email],
.cos-page .checkout-card-modern input[type=password],
.cos-page .checkout-card-modern select,
.cos-page .checkout-card-modern textarea,
.cos-page #box-form-livrare input[type=text],
.cos-page #box-form-livrare input[type=email],
.cos-page #box-form-livrare input[type=password],
.cos-page #box-form-livrare select,
.cos-page #box-form-livrare textarea {
  font-weight: 400 !important;
  font-size: 15px !important;
  color: #211f1d !important;
}

/* Delivery/payment options: lighter text, better spacing */
.cos-page .checkout-delivery-card .delivery-text {
  margin: 26px 0 34px !important;
}
.cos-page .checkout-subtitle,
.cos-page .checkout-delivery-card h3 {
  margin-top: 26px !important;
  margin-bottom: 18px !important;
}
.cos-page .checkout-option,
.cos-page .address {
  font-weight: 500 !important;
  min-height: 64px !important;
  padding: 16px 18px !important;
}
.cos-page .checkout-option label,
.cos-page .checkout-option b,
.cos-page .address label,
.cos-page .address b {
  font-weight: 550 !important;
  line-height: 1.28 !important;
  color: #111 !important;
}
.cos-page .checkout-option input[type="radio"],
.cos-page .address input[type="radio"] {
  flex: 0 0 auto !important;
  margin-right: 10px !important;
}
.cos-page #address-list {
  gap: 18px 20px !important;
  margin-bottom: 22px !important;
}
.cos-page .address {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}
.cos-page .address .gradient-button {
  justify-self: end !important;
  border: 0 !important;
  background: linear-gradient(180deg,#d9aa4a,#c78f24) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 10px 22px rgba(201,149,45,.16) !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
}
.cos-page #add-address {
  margin-top: 2px !important;
  margin-bottom: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
}
.cos-page .form-edit-address-container {
  margin: 18px 0 28px !important;
  padding: 18px !important;
  border: 1px solid #ead8b8 !important;
  border-radius: 14px !important;
  background: #fffaf2 !important;
}
.cos-page .form-edit-address-container .form-row {
  margin-bottom: 14px !important;
}
.cos-page .form-address-links {
  margin-top: 16px !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

/* Payment card and full-width bar below it */
.cos-page .checkout-payment-card {
  margin-bottom: 0 !important;
}
.cos-page .cos-trust-strip {
  margin-top: 32px !important;
  padding: 20px 30px !important;
  background: linear-gradient(90deg, transparent 0%, #f6ead6 20%, #f6ead6 80%, transparent 100%) !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

@media only screen and (max-width: 1100px) {
  .cos-page .cos-cart-head,
  .cos-page .cos-cart-item {
    grid-template-columns: 112px minmax(190px, 1fr) 92px 132px 92px 40px !important;
    gap: 12px !important;
  }
  .cos-page .cos-discount-box {
    grid-template-columns: 1fr !important;
    max-width: none !important;
  }
}

@media only screen and (max-width: 860px) {
  .cos-page .cos-cart-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .cos-page .cos-empty-cart,
  .cos-page .cos-continue-shopping {
    width: 100% !important;
  }
  .cos-page .checkout-grid-modern,
  .cos-page #box-form-livrare .grid.checkout-grid-modern {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   V10 polish — softer typography, aligned fields, tighter address/edit layout
   ========================================================= */

/* 1) Cart: premium, less bold typography */
.cos-page .cos-cart-head span {
  font-weight: 650 !important;
  letter-spacing: .17em !important;
  font-size: 11px !important;
  color: #9a6a19 !important;
}
.cos-page .cos-product-name strong,
.cos-page .summary-product-info strong {
  font-weight: 650 !important;
  letter-spacing: -.01em !important;
}
.cos-page .cos-product-price,
.cos-page .cos-product-total,
.cos-page .summary-product-price,
.cos-page #table-sumar td:last-child,
.cos-page #container-table-sumar td:last-child {
  font-weight: 650 !important;
}
.cos-page .cos-product-name span,
.cos-page .summary-product-info small,
.cos-page .summary-product-info em {
  font-weight: 400 !important;
}
.cos-page .cos-product-name em {
  font-weight: 600 !important;
}

/* X remove button — visible warm cream circle with gold X */
.cos-page .cos-product-remove .red-button,
.cos-page .cos-product-remove a.red-button,
.cos-page .cos-product-remove button.red-button {
  background: #fff8ed !important;
  border: 1px solid #e5c891 !important;
  color: #c78b22 !important;
  -webkit-text-fill-color: #c78b22 !important;
  box-shadow: 0 8px 22px rgba(157, 104, 22, .10) !important;
  font-weight: 500 !important;
  font-size: 18px !important;
}
.cos-page .cos-product-remove .red-button i,
.cos-page .cos-product-remove .red-button .fa {
  color: #c78b22 !important;
  -webkit-text-fill-color: #c78b22 !important;
}
.cos-page .cos-product-remove .red-button:hover {
  background: #c9952d !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #c9952d !important;
}
.cos-page .cos-product-remove .red-button:hover i,
.cos-page .cos-product-remove .red-button:hover .fa {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* 2) Date personale: keep inputs aligned even when labels wrap */
.cos-page .checkout-grid-modern > div:not(.checkout-field-full),
.cos-page .user-grid > div:not(.checkout-field-full) {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
.cos-page .checkout-grid-modern > div:not(.checkout-field-full) > label,
.cos-page .user-grid > div:not(.checkout-field-full) > label {
  min-height: 42px !important;
  display: flex !important;
  align-items: flex-end !important;
  margin-bottom: 8px !important;
  font-weight: 600 !important;
  line-height: 1.28 !important;
}
.cos-page .checkout-grid-modern input,
.cos-page .checkout-grid-modern select,
.cos-page .user-grid input,
.cos-page .user-grid select {
  min-height: 52px !important;
}
.cos-page .checkout-field-full label {
  min-height: 0 !important;
  font-weight: 600 !important;
}

@media only screen and (min-width: 1001px) {
  .cos-page .user-grid,
  .cos-page .checkout-grid-modern.user-grid,
  .cos-page #user-name .checkout-grid-modern {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px 22px !important;
  }
}

/* 3) Delivery/payment options: less heavy text and better spacing */
.cos-page .checkout-option,
.cos-page .address {
  min-height: 56px !important;
  padding: 12px 16px !important;
  font-weight: 500 !important;
}
.cos-page .checkout-option label,
.cos-page .address label,
.cos-page .address-text label {
  font-weight: 550 !important;
  line-height: 1.32 !important;
  color: #17120c !important;
}
.cos-page .delivery-text {
  margin-top: 18px !important;
  margin-bottom: 30px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}
.cos-page .checkout-subtitle,
.cos-page #informatii-livrare + #delivery-type + .delivery-text + .checkout-subtitle {
  margin-top: 34px !important;
  padding-top: 0 !important;
}
.cos-page #modalitati-livrare h2.checkout-subtitle {
  margin-top: 36px !important;
}

/* 4) Address cards/edit forms: keep them inside the panel and give breathing room */
.cos-page #address-list {
  margin-top: 16px !important;
  margin-bottom: 18px !important;
  align-items: start !important;
}
.cos-page .address-container-modern {
  min-width: 0 !important;
  max-width: 100% !important;
}
.cos-page .address-container-modern:has(.form-edit-address-container) {
  grid-column: 1 / -1 !important;
}
.cos-page .address-container-modern .form-edit-address-container,
.cos-page #address-list .form-edit-address-container,
.cos-page #form-address-container.form-edit-address-container {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 16px 0 22px !important;
  padding: 18px 20px !important;
  border: 1px solid #ead8bd !important;
  border-radius: 14px !important;
  background: #fff8ed !important;
  clear: both !important;
}
.cos-page .form-edit-address-container form,
.cos-page .form-edit-address-container .form {
  width: 100% !important;
}
.cos-page .form-edit-address-container .form-row {
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  gap: 12px 16px !important;
  align-items: center !important;
  margin-bottom: 12px !important;
  text-align: left !important;
}
.cos-page .form-edit-address-container .form-row label {
  width: auto !important;
  margin: 0 !important;
  font-weight: 600 !important;
}
.cos-page .form-edit-address-container input,
.cos-page .form-edit-address-container select {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
}
.cos-page .form-edit-address-container .form-address-links {
  display: flex !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-top: 14px !important;
}
.cos-page .form-edit-address-container .form-address-links a {
  float: none !important;
}
.cos-page #add-address {
  margin-top: 12px !important;
  margin-bottom: 6px !important;
}

/* 5) Payment block order: force it above the trust strip in both guest/logged flows */
@media only screen and (min-width: 1001px) {
  .cos-page #user-name,
  .cos-page .checkout-personal-card { grid-column: 1 !important; grid-row: 4 !important; }
  .cos-page #modalitati-livrare,
  .cos-page .checkout-delivery-card { grid-column: 1 !important; grid-row: 5 !important; }
  .cos-page #modalitati-plata,
  .cos-page .checkout-payment-card { grid-column: 1 !important; grid-row: 6 !important; }
  .cos-page .cos-trust-strip {
    grid-column: 1 / -1 !important;
    grid-row: 7 !important;
    width: 100% !important;
    margin: 28px 0 0 !important;
  }
}

/* Full-width trust bar, visually attached to the bottom area, not floating above payment */
.cos-page .cos-trust-strip {
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 18px 28px !important;
  background: linear-gradient(90deg, transparent 0%, #f7ead5 18%, #f7ead5 82%, transparent 100%) !important;
}

/* 6) Empty cart: centered single card when there is no right summary */
.cos-page .cos-wrapper.cos-empty-layout,
.cos-page .cos-wrapper:has(.cos-cart-empty-message) {
  display: block !important;
  max-width: 980px !important;
  width: min(980px, calc(100vw - 56px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cos-page .cos-cart-empty-message {
  text-align: center !important;
  padding: 44px 20px !important;
  color: #6f6255 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

/* 7) Slightly calmer buttons */
.cos-page .cos-discount-box .black-button,
.cos-page .cos-cart-actions .red-button,
.cos-page .gradient-button,
.cos-page .red-button {
  font-weight: 700 !important;
  letter-spacing: .055em !important;
}

/* =========================================================
   V11 — Fine polish from live screenshots
   - softer typography in cart/form/options
   - remove inner quantity dividers
   - single product image border
   - larger/thinner remove X
   - trust strip moved outside wrapper, full page width
   ========================================================= */

/* Full-width trust strip now lives directly in .bar-content.cos-content */
.cos-page .bar-content.cos-content > .cos-trust-strip {
  width: 100% !important;
  max-width: none !important;
  margin: 44px 0 0 !important;
  padding: 18px max(28px, calc((100vw - 1181px) / 2)) !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, transparent 0%, #f7ead5 16%, #f7ead5 84%, transparent 100%) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 56px !important;
  box-shadow: none !important;
}
.cos-page .cos-wrapper > .cos-trust-strip { display: none !important; }

/* Cart: lighter, more premium text */
.cos-page .cos-cart-head span {
  font-weight: 600 !important;
  letter-spacing: .18em !important;
  color: #8f681d !important;
}
.cos-page .cos-product-name strong,
.cos-page .cos-cart-item strong,
.cos-page #cart-table strong {
  font-weight: 500 !important;
  color: #080808 !important;
  letter-spacing: 0 !important;
}
.cos-page .cos-product-name small,
.cos-page .cos-product-name em,
.cos-page .cos-product-price,
.cos-page .cos-product-total,
.cos-page .cos-cart-item,
.cos-page #cart-table {
  font-weight: 400 !important;
}
.cos-page .cos-product-price,
.cos-page .cos-product-total {
  font-weight: 600 !important;
  font-size: 15px !important;
}
.cos-page .cos-product-name em {
  font-weight: 500 !important;
}

/* Product image: one border only; remove the second inner frame */
.cos-page .cos-product-img {
  border: 1px solid #ead8bd !important;
  background: #fff !important;
  box-shadow: none !important;
}
.cos-page .cos-product-img img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Quantity stepper: no inner vertical separators */
.cos-page .cos-qty-stepper {
  grid-template-columns: 40px 48px 40px !important;
  border: 1px solid #ead8bd !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.cos-page .cos-qty-stepper input[type=number] {
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  background: #fff !important;
}
.cos-page .cos-qty-btn {
  border: 0 !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  background: #fff !important;
}

/* Remove X: larger, thinner, visibly gold */
.cos-page .cos-product-remove .red-button,
.cos-page .cos-product-remove a.red-button,
.cos-page .cos-product-remove .cos-remove-link,
.cos-page .cos-product-remove .red-button.cos-remove-link {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  background: #fff7e8 !important;
  border: 1px solid #dfb66f !important;
  color: #c9952d !important;
  -webkit-text-fill-color: #c9952d !important;
  font-size: 30px !important;
  font-weight: 200 !important;
  line-height: 38px !important;
  box-shadow: 0 10px 24px rgba(201,149,45,.08) !important;
}
.cos-page .cos-product-remove .cos-remove-link span {
  color: #c9952d !important;
  -webkit-text-fill-color: #c9952d !important;
  font-size: 30px !important;
  font-weight: 200 !important;
  line-height: 1 !important;
  top: -2px !important;
}

/* Date personale: labels should not feel like heavy headings */
.cos-page .checkout-grid-modern label,
.cos-page #box-form-livrare label,
.cos-page .checkout-grid-modern > div:not(.checkout-field-full) > label,
.cos-page .user-grid > div:not(.checkout-field-full) > label,
.cos-page .checkout-field-full label {
  font-weight: 500 !important;
  color: #2f2a24 !important;
  line-height: 1.35 !important;
}
.cos-page .checkout-grid-modern > div:not(.checkout-field-full) > label,
.cos-page .user-grid > div:not(.checkout-field-full) > label {
  min-height: 38px !important;
  align-items: flex-end !important;
}

/* Delivery/payment/address text: less bold, lower cards */
.cos-page .checkout-option,
.cos-page .address,
.cos-page .address-text,
.cos-page .checkout-option label,
.cos-page .address label,
.cos-page .address-text label {
  font-weight: 500 !important;
}
.cos-page .checkout-option {
  min-height: 50px !important;
  padding: 10px 14px !important;
}
.cos-page .address {
  min-height: 52px !important;
  padding: 11px 14px !important;
}

/* Keep visible spacing before address and compact edit forms */
.cos-page .delivery-text { margin-bottom: 42px !important; }
.cos-page #modalitati-livrare h2.checkout-subtitle {
  margin-top: 44px !important;
  clear: both !important;
}
.cos-page .address-container-modern:has(.form-edit-address-container) {
  margin-bottom: 22px !important;
}
.cos-page .form-edit-address-container,
.cos-page #address-list .form-edit-address-container,
.cos-page #form-address-container.form-edit-address-container {
  padding: 16px 18px !important;
  margin: 18px 0 26px !important;
}
.cos-page #add-address {
  margin-top: 18px !important;
  clear: both !important;
}

/* Payment follows immediately after address card, while trust strip is outside wrapper */
.cos-page #modalitati-plata.checkout-card-modern,
.cos-page .checkout-payment-card {
  margin-top: 28px !important;
}

@media only screen and (max-width: 1000px) {
  .cos-page .bar-content.cos-content > .cos-trust-strip {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 18px 20px !important;
  }
}

/* =========================================================
   V12 — login + guest delivery/payment cleanup
   ========================================================= */

/* Login card: calmer text and better button/input rhythm */
.cos-page #box-info-autentificare.checkout-login-card {
  padding: 30px 34px !important;
}
.cos-page #box-info-autentificare.checkout-login-card h2 {
  font-size: 29px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin-bottom: 20px !important;
}
.cos-page #box-info-autentificare.checkout-login-card p.grey-text {
  font-size: 15px !important;
  color: #5f5549 !important;
  margin: 0 0 18px !important;
  font-weight: 400 !important;
}
.cos-page #box-form-autentificare-cos .form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 160px 150px !important;
  gap: 14px !important;
  align-items: center !important;
}
.cos-page #box-form-autentificare-cos input[type="email"],
.cos-page #box-form-autentificare-cos input[type="password"] {
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  border-radius: 11px !important;
  border: 1px solid #ead8bd !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  box-sizing: border-box !important;
  background: #fff !important;
}
.cos-page #box-form-autentificare-cos input[type="submit"],
.cos-page #box-form-autentificare-cos a.red-button {
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(180deg, #d9aa4a 0%, #c99325 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: .045em !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(201,149,45,.18) !important;
}
.cos-page #box-form-autentificare-cos input[type="submit"]:hover,
.cos-page #box-form-autentificare-cos a.red-button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(201,149,45,.25) !important;
}

/* Delivery/payment cards for guest checkout: keep text inside option cards */
.cos-page .checkout-delivery-card .checkout-options-grid,
.cos-page .checkout-delivery-card #delivery-type,
.cos-page .checkout-payment-card .checkout-options-grid,
.cos-page .checkout-payment-card #payment-type,
.cos-page #modalitati-livrare #delivery-type,
.cos-page #modalitati-plata #payment-type {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}
.cos-page .checkout-delivery-card .checkout-option,
.cos-page .checkout-payment-card .checkout-option,
.cos-page #modalitati-livrare .checkout-option,
.cos-page #modalitati-plata .checkout-option {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  column-gap: 14px !important;
  align-items: center !important;
  min-height: 58px !important;
  height: auto !important;
  padding: 15px 18px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: #fff !important;
}
.cos-page .checkout-delivery-card .checkout-option input[type="radio"],
.cos-page .checkout-payment-card .checkout-option input[type="radio"],
.cos-page #modalitati-livrare .checkout-option input[type="radio"],
.cos-page #modalitati-plata .checkout-option input[type="radio"] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  justify-self: center !important;
  align-self: center !important;
  flex: none !important;
}
.cos-page .checkout-delivery-card .checkout-option label,
.cos-page .checkout-payment-card .checkout-option label,
.cos-page #modalitati-livrare .checkout-option label,
.cos-page #modalitati-plata .checkout-option label,
.cos-page .checkout-option .label-check-input {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  float: none !important;
  text-align: left !important;
  color: #18120b !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
.cos-page .checkout-payment-card .checkout-option label b,
.cos-page #modalitati-plata .checkout-option label b {
  font-weight: 600 !important;
  line-height: 1.35 !important;
}
.cos-page .checkout-delivery-card .checkout-option:has(input:checked),
.cos-page .checkout-payment-card .checkout-option:has(input:checked),
.cos-page #modalitati-livrare .checkout-option:has(input:checked),
.cos-page #modalitati-plata .checkout-option:has(input:checked) {
  border-color: #d09a2a !important;
  box-shadow: 0 0 0 3px rgba(201,149,45,.09) !important;
}

/* Explanation boxes: closer to the option group, readable and compact */
.cos-page .checkout-delivery-card .delivery-text,
.cos-page .checkout-payment-card .delivery-text,
.cos-page #modalitati-livrare .delivery-text,
.cos-page #modalitati-plata .delivery-text {
  margin: 18px 0 0 !important;
  padding: 18px 20px !important;
  border: 1px solid #ead8bd !important;
  border-radius: 12px !important;
  background: #fff6e8 !important;
  color: #5d4b38 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

/* Logged-out flow: payment card should follow delivery naturally, not feel detached */
.cos-page .checkout-delivery-card + .checkout-payment-card,
.cos-page #modalitati-livrare + #modalitati-plata {
  margin-top: 24px !important;
}

@media only screen and (max-width: 900px) {
  .cos-page #box-form-autentificare-cos .form,
  .cos-page .checkout-delivery-card .checkout-options-grid,
  .cos-page .checkout-delivery-card #delivery-type,
  .cos-page .checkout-payment-card .checkout-options-grid,
  .cos-page .checkout-payment-card #payment-type,
  .cos-page #modalitati-livrare #delivery-type,
  .cos-page #modalitati-plata #payment-type {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   V13 polish — logged-in address buttons + premium summary
   ========================================================= */

/* 1) Logged-in delivery address cards: keep radio/text/button on one clean row */
.cos-page #address-list {
  gap: 14px 18px !important;
  align-items: start !important;
}
.cos-page .address-container-modern {
  min-width: 0 !important;
  width: 100% !important;
}
.cos-page .address-container-modern .address,
.cos-page #address-list .address {
  min-height: 74px !important;
  height: auto !important;
  padding: 14px 16px !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  column-gap: 16px !important;
  align-items: center !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fffdf9 !important;
}
.cos-page .address-text {
  min-width: 0 !important;
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.cos-page .address-text input[type="radio"] {
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  top: auto !important;
}
.cos-page .address-text label,
.cos-page .address-text b,
.cos-page .address label {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  color: #19140e !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}
.cos-page .address .gradient-button,
.cos-page .address-container-modern .gradient-button {
  width: auto !important;
  min-width: 118px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 11px !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: linear-gradient(180deg,#d7a43e,#c78f24) !important;
  border: 0 !important;
  box-shadow: 0 8px 18px rgba(201,149,45,.18) !important;
}
.cos-page .address .gradient-button i,
.cos-page .address-container-modern .gradient-button i {
  margin: 0 !important;
  color: #fff !important;
  font-size: 16px !important;
}
.cos-page .address .gradient-button:hover {
  background: linear-gradient(180deg,#c99633,#a97821) !important;
  color: #fff !important;
}
.cos-page #add-address {
  margin-top: 18px !important;
  height: 44px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-radius: 11px !important;
}

/* 2) Summary panel: smaller, lighter, aligned, no edge-hugging text */
.cos-page #container-sumar-comanda.checkout-summary-card {
  width: 360px !important;
  max-width: 360px !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.cos-page .summary-care {
  padding: 22px 22px 20px !important;
  font-size: 19px !important;
  line-height: 1.2 !important;
}
.cos-page .summary-care small {
  font-size: 12px !important;
  font-weight: 400 !important;
}
.cos-page .summary-heading {
  grid-template-columns: 42px 1fr !important;
  gap: 12px !important;
  padding: 22px 22px 14px !important;
}
.cos-page .summary-heading-icon {
  width: 40px !important;
  height: 40px !important;
  font-size: 15px !important;
}
.cos-page .summary-heading h2 {
  font-size: 27px !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  letter-spacing: -.02em !important;
}
.cos-page .summary-heading p {
  font-size: 12px !important;
  margin-top: 5px !important;
}
.cos-page .summary-products {
  margin: 0 22px !important;
  padding-bottom: 16px !important;
}
.cos-page .summary-product-card {
  grid-template-columns: 52px minmax(0,1fr) auto !important;
  gap: 11px !important;
  padding-top: 14px !important;
}
.cos-page .summary-product-thumb img {
  width: 48px !important;
  height: 48px !important;
  padding: 5px !important;
}
.cos-page .summary-product-info strong {
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
  letter-spacing: -.01em !important;
}
.cos-page .summary-product-info small,
.cos-page .summary-product-info em {
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  color: #71675d !important;
}
.cos-page .summary-product-price {
  font-size: 13px !important;
  font-weight: 650 !important;
  padding-left: 8px !important;
}
.cos-page .summary-totals-wrap {
  margin: 0 22px !important;
  padding-top: 10px !important;
}
.cos-page #table-sumar,
.cos-page #table-sumar tbody,
.cos-page #table-sumar tr,
.cos-page #table-sumar td {
  width: 100% !important;
  box-sizing: border-box !important;
}
.cos-page #table-sumar td {
  padding: 12px 0 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  color: #201811 !important;
}
.cos-page #table-sumar td:first-child {
  padding-left: 0 !important;
  padding-right: 12px !important;
}
.cos-page #table-sumar td:last-child {
  padding-left: 12px !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-weight: 650 !important;
}
.cos-page #table-sumar .summary-total-row td,
.cos-page #container-table-sumar tr:last-child td {
  padding-top: 17px !important;
  font-size: 20px !important;
  font-family: Georgia,'Times New Roman',serif !important;
  font-weight: 600 !important;
}
.cos-page #table-sumar .summary-total-row td:last-child,
.cos-page #total-cost,
.cos-page #container-table-sumar tr:last-child td:last-child {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #c8912b !important;
}
.cos-page .summary-safe {
  margin: 18px 22px 0 !important;
  padding: 14px !important;
  grid-template-columns: 42px 1fr !important;
  gap: 3px 12px !important;
}
.cos-page .summary-safe i {
  width: 40px !important;
  height: 40px !important;
  color: #d09a2a !important;
}
.cos-page .summary-safe strong {
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
}
.cos-page .summary-safe span {
  font-size: 12px !important;
  line-height: 1.35 !important;
}
.cos-page .summary-benefits {
  margin: 18px 22px 0 !important;
  gap: 10px !important;
}
.cos-page .summary-benefits strong {
  font-size: 11px !important;
  font-weight: 650 !important;
}
.cos-page .summary-benefits small {
  font-size: 10px !important;
}
.cos-page #container-accept-terms {
  margin: 18px 22px 0 !important;
  display: grid !important;
  grid-template-columns: 18px 1fr !important;
  gap: 10px !important;
  align-items: start !important;
}
.cos-page #container-accept-terms label {
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}
.cos-page #send-order,
.cos-page #send-order-no-auth {
  width: auto !important;
  max-width: none !important;
  margin: 20px 22px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  letter-spacing: .08em !important;
  white-space: nowrap !important;
}
.cos-page .summary-trust {
  margin: 12px 22px 24px !important;
  color: #2d8a42 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}
.cos-page .summary-trust i {
  color: #2d8a42 !important;
}
.cos-page .summary-trust span {
  color: #2d8a42 !important;
  opacity: 1 !important;
}

@media only screen and (max-width: 1200px) {
  .cos-page #container-sumar-comanda.checkout-summary-card {
    width: 340px !important;
    max-width: 340px !important;
  }
  .cos-page #send-order,
  .cos-page #send-order-no-auth {
    white-space: normal !important;
    text-align: center !important;
  }
}
@media only screen and (max-width: 1000px) {
  .cos-page .address-container-modern .address,
  .cos-page #address-list .address {
    grid-template-columns: 1fr !important;
    row-gap: 12px !important;
  }
  .cos-page .address .gradient-button,
  .cos-page .address-container-modern .gradient-button {
    justify-self: start !important;
  }
}

/* =========================================================
   V14 — address cards + summary alignment fixes
   ========================================================= */

/* Logged-in address cards: radio + address + edit button on one row */
.cos-page #address-list {
  gap: 16px 20px !important;
  align-items: start !important;
}
.cos-page .address-container-modern {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.cos-page .address-container-modern .address,
.cos-page #address-list .address {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 62px !important;
  height: auto !important;
  padding: 12px 14px 12px 18px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.cos-page .address-container-modern .address-text,
.cos-page #address-list .address-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.cos-page .address-container-modern .address-text input[type="radio"],
.cos-page #address-list .address-text input[type="radio"] {
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  position: static !important;
}
.cos-page .address-container-modern .address-text label,
.cos-page #address-list .address-text label {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
  overflow-wrap: anywhere !important;
}
.cos-page .address-container-modern .gradient-button,
.cos-page #address-list .address .gradient-button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 106px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .075em !important;
  border-radius: 10px !important;
  align-self: center !important;
}
.cos-page .address-container-modern .gradient-button i,
.cos-page #address-list .address .gradient-button i {
  font-size: 14px !important;
}
.cos-page #add-address {
  margin-top: 22px !important;
}

/* When an address edit form opens, keep the form under the selected row and inside the panel. */
.cos-page .address-container-modern:has(.form-edit-address-container) {
  grid-column: 1 / -1 !important;
}
.cos-page .address-container-modern .form-edit-address-container {
  margin-top: 14px !important;
}

/* Right summary: pull the totals away from the edges and keep prices inside. */
.cos-page #container-sumar-comanda.checkout-summary-card {
  width: 380px !important;
  max-width: 380px !important;
}
.cos-page .summary-totals-wrap,
.cos-page #container-table-sumar {
  width: auto !important;
  max-width: none !important;
  margin: 0 26px !important;
  padding: 8px 0 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.cos-page #table-sumar,
.cos-page #container-table-sumar table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}
.cos-page #table-sumar tr,
.cos-page #container-table-sumar tr {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.cos-page #table-sumar td,
.cos-page #container-table-sumar td {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 12px 0 !important;
  box-sizing: border-box !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}
.cos-page #table-sumar td:first-child,
.cos-page #container-table-sumar td:first-child {
  color: #6d5f52 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.cos-page #table-sumar td:last-child,
.cos-page #container-table-sumar td:last-child {
  justify-self: end !important;
  text-align: right !important;
  padding-left: 0 !important;
  white-space: nowrap !important;
  font-weight: 650 !important;
  color: #17120c !important;
}
.cos-page #table-sumar .summary-total-row td,
.cos-page #container-table-sumar tr:last-child td {
  padding-top: 18px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}
.cos-page #table-sumar .summary-total-row td:first-child,
.cos-page #container-table-sumar tr:last-child td:first-child {
  font-family: Georgia, 'Times New Roman', serif !important;
  color: #17120c !important;
}
.cos-page #table-sumar .summary-total-row td:last-child,
.cos-page #total-cost,
.cos-page #container-table-sumar tr:last-child td:last-child {
  max-width: 180px !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  font-size: 27px !important;
  line-height: 1.05 !important;
  color: #c8912b !important;
}

/* Center the smaller order button inside the summary card. */
.cos-page #send-order,
.cos-page #send-order-no-auth {
  width: min(270px, calc(100% - 52px)) !important;
  margin: 22px auto 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

@media only screen and (max-width: 1200px) {
  .cos-page #container-sumar-comanda.checkout-summary-card {
    width: 360px !important;
    max-width: 360px !important;
  }
}
@media only screen and (max-width: 1000px) {
  .cos-page #container-sumar-comanda.checkout-summary-card {
    width: auto !important;
    max-width: 100% !important;
  }
  .cos-page .address-container-modern .address,
  .cos-page #address-list .address {
    flex-wrap: wrap !important;
  }
  .cos-page .address-container-modern .gradient-button,
  .cos-page #address-list .address .gradient-button {
    margin-left: 28px !important;
  }
}

/* v15 — remove product button: centered, clean premium X */
.cos-page .cos-product-remove {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-width: 48px !important;
}
.cos-page .cos-product-remove .red-button,
.cos-page .cos-product-remove a.red-button,
.cos-page .cos-product-remove .cos-remove-link,
.cos-page .cos-product-remove .red-button.cos-remove-link {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff8ec !important;
  border: 1px solid #e6c889 !important;
  color: #c9952d !important;
  -webkit-text-fill-color: #c9952d !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(201,149,45,.12) !important;
  transform: none !important;
  line-height: 1 !important;
  font-size: 0 !important;
  overflow: hidden !important;
}
.cos-page .cos-product-remove .cos-remove-link span,
.cos-page .cos-product-remove .red-button span {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #c9952d !important;
  -webkit-text-fill-color: #c9952d !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 24px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}
.cos-page .cos-product-remove .red-button:hover,
.cos-page .cos-product-remove a.red-button:hover,
.cos-page .cos-product-remove .cos-remove-link:hover {
  background: #d39a25 !important;
  border-color: #d39a25 !important;
  box-shadow: 0 10px 24px rgba(201,149,45,.22) !important;
}
.cos-page .cos-product-remove .red-button:hover span,
.cos-page .cos-product-remove a.red-button:hover span,
.cos-page .cos-product-remove .cos-remove-link:hover span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* v16 — empty cart centered after clearing cart / finishing order */
.cos-page .cos-wrapper.cos-empty-layout {
  display: block !important;
  width: min(980px, calc(100vw - 56px)) !important;
  max-width: 980px !important;
  margin: 0 auto !important;
}
.cos-page .cos-wrapper.cos-empty-layout .cos-hero {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cos-page .cos-wrapper.cos-empty-layout #box-cart.cos-cart-card-empty {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto 54px !important;
  grid-column: auto !important;
  justify-self: auto !important;
}
.cos-page .cos-wrapper.cos-empty-layout .cos-cart-card-empty .cart-alert {
  border-bottom: 1px solid var(--cos-line) !important;
}
.cos-page .cos-wrapper.cos-empty-layout .cos-cart-card-empty .cos-cart-head,
.cos-page .cos-wrapper.cos-empty-layout .cos-cart-card-empty .cos-cart-actions,
.cos-page .cos-wrapper.cos-empty-layout .cos-cart-card-empty .cos-cart-bottom,
.cos-page .cos-wrapper.cos-empty-layout .cos-cart-card-empty .cos-engros-note {
  display: none !important;
}
.cos-page .cos-wrapper.cos-empty-layout .cos-cart-card-empty .cos-empty {
  min-height: 230px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 34px !important;
  text-align: center !important;
  color: #6d6257 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}
.cos-page .cos-wrapper.cos-empty-layout .cos-cart-card-empty .cos-empty:before {
  margin-right: 0 !important;
  flex: 0 0 auto !important;
}

/* =========================================================
   V17 mobile polish
   - center cart action buttons on mobile
   - prevent logged-in delivery/address/payment panels from overflowing
   ========================================================= */

/* Mobile cart actions: both buttons same centered block, not edge-aligned. */
@media only screen and (max-width: 760px) {
  .cos-page .cos-cart-actions,
  .cos-page .cos-cart-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    text-align: center !important;
  }

  .cos-page .cos-continue-shopping,
  .cos-page .cos-empty-cart,
  .cos-page .cos-cart-actions .red-button,
  .cos-page .cos-cart-actions .gradient-button {
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .cos-page .cos-continue-shopping .fa,
  .cos-page .cos-empty-cart .fa {
    flex: 0 0 auto !important;
  }
}

/* Logged-in delivery/payment/address blocks: never exceed the mobile viewport. */
.cos-page #modalitati-livrare,
.cos-page #modalitati-plata,
.cos-page .checkout-card-modern,
.cos-page .checkout-delivery-card,
.cos-page .checkout-payment-card,
.cos-page #address-list,
.cos-page #delivery-type,
.cos-page #payment-type {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Radios + labels in option cards: keep text inside the card on narrow screens. */
.cos-page #delivery-type .form-checkbox,
.cos-page #payment-type .form-checkbox,
.cos-page .checkout-option,
.cos-page .address,
.cos-page .address-text {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.cos-page #delivery-type .form-checkbox label,
.cos-page #payment-type .form-checkbox label,
.cos-page .checkout-option label,
.cos-page .address label,
.cos-page .address-text label {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

@media only screen and (max-width: 760px) {
  .cos-page .wrapper,
  .cos-page .cos-wrapper.wrapper {
    width: min(100%, calc(100vw - 22px)) !important;
    max-width: calc(100vw - 22px) !important;
    overflow: visible !important;
  }

  .cos-page .checkout-card-modern,
  .cos-page .checkout-login-card,
  .cos-page .checkout-personal-card,
  .cos-page .checkout-delivery-card,
  .cos-page .checkout-payment-card,
  .cos-page #modalitati-livrare,
  .cos-page #modalitati-plata {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .cos-page #delivery-type,
  .cos-page #payment-type,
  .cos-page #address-list,
  .cos-page .checkout-options-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cos-page #delivery-type .form-checkbox,
  .cos-page #payment-type .form-checkbox,
  .cos-page .checkout-option,
  .cos-page .address {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 62px !important;
    height: auto !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  .cos-page #delivery-type .form-checkbox input[type="radio"],
  .cos-page #payment-type .form-checkbox input[type="radio"],
  .cos-page .checkout-option input[type="radio"],
  .cos-page .address input[type="radio"] {
    flex: 0 0 18px !important;
    margin: 0 !important;
    position: static !important;
  }

  .cos-page #delivery-type .form-checkbox label,
  .cos-page #payment-type .form-checkbox label,
  .cos-page .checkout-option label,
  .cos-page .address label,
  .cos-page .address-text label {
    flex: 1 1 auto !important;
    display: block !important;
    margin: 0 !important;
    width: auto !important;
    text-align: left !important;
    line-height: 1.35 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  .cos-page #box-info-livrare .grey-text,
  .cos-page .delivery-note {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media only screen and (max-width: 440px) {
  .cos-page .wrapper,
  .cos-page .cos-wrapper.wrapper {
    width: min(100%, calc(100vw - 14px)) !important;
    max-width: calc(100vw - 14px) !important;
  }

  .cos-page .checkout-card-modern,
  .cos-page .checkout-delivery-card,
  .cos-page .checkout-payment-card {
    border-radius: 16px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .cos-page #delivery-type .form-checkbox,
  .cos-page #payment-type .form-checkbox,
  .cos-page .checkout-option,
  .cos-page .address {
    padding: 13px 14px !important;
  }
}

/* =========================================================
   V18 — mobile auth card overflow fix
   ========================================================= */
.cos-page #box-info-autentificare.checkout-login-card,
.cos-page #box-info-autentificare.checkout-login-card * {
  box-sizing: border-box !important;
}
.cos-page #box-info-autentificare.checkout-login-card {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}
.cos-page #box-info-autentificare #box-form-autentificare-cos,
.cos-page #box-info-autentificare #box-form-autentificare-cos form {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

@media only screen and (max-width: 760px) {
  .cos-page #box-info-autentificare.checkout-login-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }

  .cos-page #box-info-autentificare.checkout-login-card h2 {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.08 !important;
    margin: 0 0 18px !important;
    word-break: normal !important;
  }

  .cos-page #box-info-autentificare.checkout-login-card h2 i {
    flex: 0 0 50px !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
  }

  .cos-page #box-info-autentificare.checkout-login-card p.grey-text {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 0 18px !important;
    overflow-wrap: break-word !important;
  }

  .cos-page #box-info-autentificare #box-form-autentificare-cos form,
  .cos-page #box-form-autentificare-cos .form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cos-page #box-info-autentificare input[type="email"],
  .cos-page #box-info-autentificare input[type="password"],
  .cos-page #box-info-autentificare input[type="submit"],
  .cos-page #box-info-autentificare .red-button,
  .cos-page #box-info-autentificare a.red-button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    text-align: center !important;
    border-radius: 12px !important;
  }
}

@media only screen and (max-width: 440px) {
  .cos-page #box-info-autentificare.checkout-login-card {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .cos-page #box-info-autentificare input[type="email"],
  .cos-page #box-info-autentificare input[type="password"],
  .cos-page #box-info-autentificare input[type="submit"],
  .cos-page #box-info-autentificare .red-button,
  .cos-page #box-info-autentificare a.red-button {
    height: 54px !important;
  }
}
