.odreturns-page{max-width:1200px;margin:0 auto 40px;padding:20px}.odreturns-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.odreturns-card,.odreturns-order-box{background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:20px;margin-bottom:18px;box-shadow:0 6px 18px rgba(0,0,0,.04)}.odreturns-order-box{display:flex;align-items:center;justify-content:space-between;gap:20px}.odreturns-order-box h3{margin-top:0}.odreturns-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.odreturns-grid--2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.odreturns-order-card{display:flex;flex-direction:column;gap:8px}.odreturns-stepbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.odreturns-stepbar span{background:#f1f1f1;border-radius:999px;padding:8px 12px;font-size:13px}.odreturns-stepbar span.active{background:#111;color:#fff}.odreturns-reasons{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.odreturns-reason-card{border:1px solid #ddd;border-radius:10px;padding:18px;background:#fff;cursor:pointer}.odreturns-reason-card input{margin-right:8px}.odreturns-product-list{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.odreturns-product-row{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff;border:1px solid #ddd;border-radius:10px;padding:16px}.odreturns-product-row.is-disabled{opacity:.55;background:#f7f7f7}.odreturns-product-row input[type=number]{max-width:90px}.odreturns-policy-box{background:#fff8e6;border:1px solid #f1ce75;border-radius:10px;padding:20px;margin:20px 0}.odreturns-checkbox{display:block;margin:16px 0}.odreturns-address{border:1px dashed #ccc;border-radius:8px;padding:14px;background:#fafafa;margin:10px 0}.odreturns-timeline{list-style:none;margin:0;padding:0}.odreturns-timeline li{position:relative;padding:0 0 16px 28px;color:#777}.odreturns-timeline li:before{content:"";position:absolute;left:0;top:3px;width:12px;height:12px;border-radius:50%;background:#ccc}.odreturns-timeline li.active{color:#111;font-weight:600}.odreturns-timeline li.active:before{background:#1f9d55}.odr-badge{display:inline-block;border-radius:999px;padding:3px 9px;font-size:12px;background:#eee}.odr-badge--warning,.odr-badge--waiting_products,.odr-badge--customer_tracking_added{background:#fff3cd;color:#8a5a00}.odr-badge--closed{background:#e5e7eb;color:#555}.odr-badge--open,.odr-badge--manual_review{background:#dbeafe;color:#174ea6}.odr-badge--refund_authorized,.odr-badge--refund_done{background:#dcfce7;color:#166534}@media(max-width:768px){.odreturns-order-box,.odreturns-header,.odreturns-product-row{flex-direction:column;align-items:flex-start}.odreturns-page{padding:12px}}


/* OD Returns 0.1.6 - front layout hardening for PS theme containers */
.odreturns-page,
.odreturns-page *{
  box-sizing:border-box;
}
.odreturns-page{
  width:100%;
  max-width:1180px;
  margin:0 auto 40px;
  padding:0 15px 30px;
  clear:both;
  overflow:visible;
}
.odreturns-page > .alert,
.odreturns-page .alert-info,
.odreturns-page .alert-danger,
.odreturns-page .alert-success{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  clear:both!important;
  float:none!important;
  margin:0 0 18px!important;
}
.odreturns-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  clear:both!important;
  float:none!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  margin:18px 0 24px!important;
  overflow:visible!important;
}
.odreturns-grid:before,
.odreturns-grid:after{
  content:none!important;
  display:none!important;
}
.odreturns-order-card{
  flex:0 1 calc(25% - 12px)!important;
  width:calc(25% - 12px)!important;
  min-width:245px!important;
  max-width:100%!important;
  margin:0!important;
}
.odreturns-order-card strong,
.odreturns-order-card span{
  display:block;
  overflow-wrap:anywhere;
}
.odreturns-order-card .btn,
.odreturns-order-card button{
  width:100%;
  white-space:normal;
}
.odreturns-card{
  clear:both;
}
@media(max-width:1199px){
  .odreturns-order-card{flex-basis:calc(33.333% - 11px)!important;width:calc(33.333% - 11px)!important;}
}
@media(max-width:991px){
  .odreturns-order-card{flex-basis:calc(50% - 8px)!important;width:calc(50% - 8px)!important;}
}
@media(max-width:575px){
  .odreturns-page{padding:0 10px 24px;}
  .odreturns-grid{display:block!important;}
  .odreturns-order-card{width:100%!important;min-width:0!important;margin:0 0 14px!important;}
}

.odreturns-inline-link {
  display: inline-block;
  margin-left: 8px;
  font-weight: 600;
  text-decoration: underline;
}
.odreturns-order-card.is-disabled {
  opacity: .72;
}
.odreturns-order-card.is-disabled button,
.odreturns-product-row.is-disabled input[type="number"] {
  pointer-events: none;
}
.odreturns-muted {
  color: #6d6d6d;
  margin-top: 1rem;
}
.odreturns-footer-link {
  margin: .5rem 0;
  font-size: .95rem;
}
.odreturns-footer-link a {
  text-decoration: none;
}

/* OD Returns 0.4.5 - Contact page hub */
.odr-copy-en{display:none}
html[lang^="en"] .odr-copy-it{display:none}
html[lang^="en"] .odr-copy-en{display:inline}
.odr-contact-hub{--odr-bordeaux:#240c0b;--odr-bordeaux-light:#3a1412;--odr-gold:#c99a45;--odr-gold-soft:#e7d6b5;--odr-cream:#fbf7ef;--odr-text:#1d1714;width:100%;margin:0 0 24px;padding:8px 0 14px;color:var(--odr-text)}
.odr-contact-hub__header{margin:0 0 22px}
.odr-contact-hub__header h1{margin:0;font-size:clamp(27px,3vw,38px);line-height:1.1;letter-spacing:-.025em;color:var(--odr-text)}
.odr-contact-hub__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.odr-contact-card{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:285px;padding:30px;border:1px solid var(--odr-gold-soft);border-radius:22px;box-shadow:0 16px 42px rgba(36,12,11,.08)}
.odr-contact-card h2{margin:5px 0 12px;font-size:25px;line-height:1.15;letter-spacing:-.015em}
.odr-contact-card p{max-width:620px;margin:0 0 22px;font-size:16px;line-height:1.65}
.odr-contact-card__eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.odr-contact-card__number{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin:0 0 20px;border-radius:50%;font-size:13px;font-weight:900;letter-spacing:.08em}
.odr-contact-card--order{color:#fff;background:radial-gradient(circle at 88% 12%,rgba(201,154,69,.23),transparent 28%),linear-gradient(135deg,#111 0%,var(--odr-bordeaux) 58%,var(--odr-bordeaux-light) 100%);border-color:rgba(201,154,69,.6)}
.odr-contact-card--order h2,.odr-contact-card--order p{color:#fff}
.odr-contact-card--order .odr-contact-card__eyebrow{color:#f0d8ad}
.odr-contact-card--order .odr-contact-card__number{color:#240c0b;background:#f3dfb7}
.odr-contact-card--general{background:radial-gradient(circle at 88% 10%,rgba(201,154,69,.16),transparent 27%),linear-gradient(135deg,var(--odr-cream),#fff 72%)}
.odr-contact-card--general .odr-contact-card__eyebrow{color:#8e611f}
.odr-contact-card--general .odr-contact-card__number{color:#fff;background:var(--odr-bordeaux)}
.odr-contact-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;max-width:100%;padding:11px 20px;border-radius:999px;font-size:14px;font-weight:800;line-height:1.3;text-align:center;text-decoration:none!important;white-space:normal;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.odr-contact-action:hover,.odr-contact-action:focus{transform:translateY(-1px)}
.odr-contact-action--primary{color:var(--odr-bordeaux)!important;background:#fff;border:1px solid #fff;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.odr-contact-action--secondary{color:#fff!important;background:var(--odr-bordeaux);border:1px solid var(--odr-bordeaux);box-shadow:0 10px 26px rgba(36,12,11,.18)}
.odr-contact-general-form{margin-top:24px!important;padding:28px!important;border:1px solid var(--odr-gold-soft)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 16px 42px rgba(36,12,11,.07);scroll-margin-top:24px}
.odr-contact-general-form[hidden]{display:none!important}
.odr-contact-general-form__header{margin:0 0 18px}
.odr-contact-general-form__header h2{margin:0;font-size:26px;color:var(--odr-text)}
.odr-contact-general-form .form-footer{margin-top:20px}
.odr-contact-honeypot{display:none!important}
@media(max-width:767px){
  .odr-contact-hub__header{margin-bottom:16px}
  .odr-contact-hub__header h1{font-size:29px}
  .odr-contact-hub__choices{grid-template-columns:1fr;gap:14px}
  .odr-contact-card{min-height:0;padding:20px 18px;border-radius:17px}
  .odr-contact-card h2{font-size:22px}
  .odr-contact-card p{margin-bottom:18px;font-size:15px;line-height:1.55}
  .odr-contact-action{width:100%}
  .odr-contact-general-form{margin-top:18px!important}
  .odr-contact-general-form .form-footer button{width:100%}
}

/* OD Returns 0.1.9 - UI refresh */
.odreturns-ui-refresh{
  color:#1f1f1f;
}
.odreturns-ui-refresh h1,
.odreturns-ui-refresh h2,
.odreturns-ui-refresh h3{
  letter-spacing:-.02em;
}
.odreturns-hero{
  background:linear-gradient(135deg,#fff,#f8f2e7);
  border:1px solid #eadfcf;
  border-radius:18px;
  padding:32px;
  margin:0 0 22px;
  box-shadow:0 14px 40px rgba(0,0,0,.05);
}
.odreturns-hero-small{padding:26px 28px;}
.odreturns-hero h1{margin:6px 0 10px;font-size:32px;line-height:1.12;}
.odreturns-hero p{max-width:760px;margin:0;color:#5b5148;font-size:16px;line-height:1.6;}
.odreturns-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#9a733e;
  font-weight:700;
}
.odreturns-kicker:before{
  content:"";
  width:22px;
  height:1px;
  background:#b98b45;
  display:inline-block;
}
.odreturns-path-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:20px 0;
}
.odreturns-path-card{
  background:#fff;
  border:1px solid #e8dfd2;
  border-radius:18px;
  padding:26px;
  box-shadow:0 12px 32px rgba(0,0,0,.05);
}
.odreturns-path-card h2{margin:6px 0 8px;font-size:22px;}
.odreturns-path-card p{color:#645d55;line-height:1.55;}
.odreturns-icon{
  width:46px;
  height:46px;
  border-radius:50%;
  background:#f6efe3;
  color:#8b6736;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:20px;
  margin-bottom:12px;
}
.odreturns-guest-form{margin-top:16px;}
.odreturns-info-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:18px 0 24px;
}
.odreturns-info-strip>div{
  background:#111;
  color:#fff;
  border-radius:14px;
  padding:18px;
}
.odreturns-info-strip strong{display:block;margin-bottom:4px;}
.odreturns-info-strip span{display:block;color:#d8d8d8;font-size:13px;line-height:1.45;}
.odreturns-stepbar-modern{
  counter-reset:odstep;
  gap:0!important;
  justify-content:space-between;
  background:#fff;
  border:1px solid #eee1cf;
  border-radius:999px;
  padding:7px!important;
  box-shadow:0 8px 24px rgba(0,0,0,.04);
  overflow:hidden;
}
.odreturns-stepbar-modern span{
  background:transparent!important;
  color:#71685f;
  border-radius:999px!important;
  padding:9px 13px!important;
  font-weight:600;
}
.odreturns-stepbar-modern span.active{
  background:#111!important;
  color:#fff!important;
}
.odreturns-card,
.odreturns-order-card,
.odreturns-product-row{
  border-color:#e8dfd2!important;
  border-radius:16px!important;
  box-shadow:0 10px 28px rgba(0,0,0,.045)!important;
}
.odreturns-order-grid{align-items:stretch!important;}
.odreturns-order-card{
  padding:20px!important;
  gap:12px!important;
  transition:transform .18s ease, box-shadow .18s ease;
}
.odreturns-order-card:not(.is-disabled):hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(0,0,0,.08)!important;
}
.odreturns-card-label{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#9a733e;
  font-weight:700;
  margin-bottom:2px;
}
.odreturns-order-top strong{font-size:18px;}
.odreturns-order-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-top:1px solid #f1eadf;
}
.odreturns-order-meta span{color:#756c62;font-size:13px;}
.odreturns-order-meta strong{text-align:right;}
.odreturns-btn{
  background:#111!important;
  border-color:#111!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:11px 20px!important;
  font-weight:700!important;
  text-transform:none!important;
  box-shadow:none!important;
}
.odreturns-btn:hover{background:#2a2a2a!important;border-color:#2a2a2a!important;}
.odreturns-main-action{margin-top:14px;}
.odreturns-reason-card{
  border-radius:16px!important;
  border-color:#e8dfd2!important;
  box-shadow:0 10px 24px rgba(0,0,0,.04);
  transition:all .16s ease;
}
.odreturns-reason-card:hover{
  border-color:#c9a56a!important;
  transform:translateY(-1px);
}
.odreturns-reason-card span{font-weight:700;}
.odreturns-form-grid,
.odreturns-layout-2{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  gap:18px;
  align-items:start;
}
.odreturns-dropzone{
  display:block;
  border:1.5px dashed #c9a56a;
  background:#fffaf3;
  border-radius:16px;
  padding:24px;
  text-align:center;
  cursor:pointer;
  margin-bottom:12px;
}
.odreturns-dropzone span{
  display:block;
  font-weight:700;
  color:#8b6736;
  margin-bottom:8px;
}
.odreturns-dropzone input{display:block;margin:0 auto;max-width:100%;}
.odreturns-policy-box{
  background:#fff8e9!important;
  border-color:#e4c27f!important;
  border-radius:16px!important;
  box-shadow:0 10px 30px rgba(143,97,34,.08);
}
.odreturns-policy-box a{font-weight:700;text-decoration:underline;}
.odreturns-confirm-box{
  background:#fff;
  border:1px solid #e8dfd2;
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.04);
}
.odreturns-empty-card{text-align:center;padding:34px!important;}
.odreturns-footer-link a{font-weight:600;}
@media(max-width:991px){
  .odreturns-path-grid,
  .odreturns-info-strip,
  .odreturns-form-grid,
  .odreturns-layout-2{grid-template-columns:1fr;}
  .odreturns-hero{padding:24px;}
  .odreturns-hero h1{font-size:27px;}
  .odreturns-stepbar-modern{border-radius:16px;justify-content:flex-start;}
}

/* Contact page assistance box */
.odreturns-contact-box {
  margin: 0 0 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid #e6dfd3;
  border-radius: 14px;
  background: #fffaf2;
}
.odreturns-contact-box h3 {
  margin-top: 0;
  margin-bottom: .4rem;
  font-size: 1.15rem;
}
.odreturns-contact-box p {
  margin-bottom: 1rem;
}

.odreturns-actions-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:15px}.odreturns-offer{border:1px solid #ead8bd;border-radius:14px;padding:18px;margin-top:12px;background:#fffaf2}.odreturns-offer .alert{margin-top:12px}

/* OD Returns 0.2.8 - aligned product/upload step */
.odreturns-form-grid-equal{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
}
.odreturns-form-grid-equal .odreturns-card{
  height:100%;
  margin-bottom:0;
}
.odreturns-description-card textarea{
  min-height:190px;
  resize:vertical;
}
.odreturns-upload-card .odreturns-dropzone{
  min-height:190px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.odreturns-form-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-top:18px;
  width:100%;
}
.odreturns-form-actions .odreturns-main-action{
  margin-top:0;
}
.odreturns-linked-requests{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:10px;
}
.odreturns-linked-request{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border:1px solid #eee1cf;
  border-radius:12px;
  background:#fffaf2;
}
@media(max-width:991px){
  .odreturns-form-grid-equal{grid-template-columns:1fr!important;}
  .odreturns-upload-card .odreturns-dropzone{min-height:150px;}
}

/* OD Returns 0.3.1 - premium customer UI */
.odreturns-ui-refresh{
  --odr-ink:#17130f;
  --odr-muted:#72685e;
  --odr-gold:#b99155;
  --odr-cream:#fff8ed;
  --odr-line:#eadfce;
  --odr-shadow:0 18px 50px rgba(55,40,24,.10);
}
.odreturns-ui-refresh .odreturns-hero,
.odreturns-view > h1{
  border-radius:24px;
  background:linear-gradient(135deg,#1f1a16 0%,#55412b 58%,#b99155 100%);
  color:#fff;
  padding:30px 34px;
  box-shadow:var(--odr-shadow);
  margin-bottom:24px;
}
.odreturns-ui-refresh .odreturns-hero h1{color:#fff;margin:.25rem 0;font-size:34px;letter-spacing:-.02em;}
.odreturns-ui-refresh .odreturns-hero p{color:rgba(255,255,255,.86);max-width:760px;}
.odreturns-kicker{display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800;color:#f5d8a5;}
.odreturns-kicker:before{content:"";width:22px;height:1px;background:#f5d8a5;display:inline-block;}
.odreturns-stepbar-modern{background:#fff;border:1px solid var(--odr-line);border-radius:999px;padding:8px;box-shadow:0 10px 32px rgba(0,0,0,.06);}
.odreturns-stepbar-modern span{background:transparent;border:1px solid transparent;color:var(--odr-muted);font-weight:700;}
.odreturns-stepbar-modern span.active{background:#17130f;color:#fff;border-color:#17130f;box-shadow:0 8px 22px rgba(0,0,0,.16);}
.odreturns-card,.odreturns-order-box{border:1px solid var(--odr-line)!important;border-radius:20px!important;box-shadow:var(--odr-shadow)!important;background:#fff!important;}
.odreturns-card h2,.odreturns-card h3{letter-spacing:-.01em;color:var(--odr-ink);}
.odreturns-order-card{position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.odreturns-order-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(#b99155,#e5c98d);}
.odreturns-order-card:hover{transform:translateY(-2px);box-shadow:0 22px 60px rgba(55,40,24,.14)!important;border-color:#d8c39f!important;}
.odreturns-btn,.odreturns-main-action,.odreturns-page .btn-primary{border-radius:999px!important;padding:12px 20px!important;font-weight:800!important;background:#17130f!important;border-color:#17130f!important;box-shadow:0 12px 26px rgba(0,0,0,.16);}
.odreturns-page .btn-secondary,.odreturns-page .btn-default{border-radius:999px!important;padding:10px 18px!important;font-weight:700!important;border-color:#d7c4a5!important;background:#fff!important;color:#2c231a!important;}
.odreturns-reason-card{border-radius:20px!important;border:1px solid var(--odr-line)!important;box-shadow:0 12px 34px rgba(0,0,0,.05);transition:all .18s ease;}
.odreturns-reason-card:hover{border-color:#b99155!important;background:#fffaf2!important;transform:translateY(-2px);}
.odreturns-product-row{border-radius:18px!important;border:1px solid var(--odr-line)!important;box-shadow:0 10px 28px rgba(0,0,0,.04);}
.odreturns-product-row input[type="checkbox"]{width:18px;height:18px;accent-color:#17130f;}
.odreturns-description-card textarea{min-height:230px!important;border-radius:14px;border-color:#dfd1bc;padding:14px;}
.odreturns-upload-card .odreturns-dropzone{min-height:230px!important;border-radius:18px!important;background:linear-gradient(180deg,#fffaf2,#fff);border:2px dashed #caa66e!important;}
.odreturns-upload-card .odreturns-dropzone span{font-size:17px;color:#7e5a27;}
.odreturns-form-actions{padding:16px 0 0;border-top:1px solid #f0e6d7;}
.odreturns-policy-box{border-radius:20px!important;}
.odreturns-offer{border-radius:20px!important;background:linear-gradient(180deg,#fff8eb,#fff)!important;box-shadow:0 14px 34px rgba(185,145,85,.12);}
.odr-badge{font-weight:800;letter-spacing:.01em;}
.odreturns-muted{color:var(--odr-muted);}
@media(max-width:991px){.odreturns-ui-refresh .odreturns-hero,.odreturns-view > h1{padding:24px 22px;border-radius:18px}.odreturns-ui-refresh .odreturns-hero h1{font-size:27px}.odreturns-stepbar-modern{border-radius:18px}.odreturns-description-card textarea,.odreturns-upload-card .odreturns-dropzone{min-height:170px!important}}

/* OD Returns 0.3.3 - OrientalDream premium bordeaux/gold palette */
.odreturns-ui-refresh{
  --odr-bordeaux:#240c0b;
  --odr-bordeaux-light:#3a1412;
  --odr-black:#111111;
  --odr-gold:#c99a45;
  --odr-gold-soft:#e7d6b5;
  --odr-cream:#fbf7ef;
  --odr-line:#eadcc7;
  --odr-text:#1d1714;
  --odr-muted:#6f625c;
  --odr-shadow:0 18px 45px rgba(36,12,11,.10);
}
.odreturns-ui-refresh .odreturns-hero{
  background:radial-gradient(circle at 18% 20%,rgba(201,154,69,.28),transparent 28%),linear-gradient(135deg,#111 0%,#240c0b 52%,#3a1412 100%)!important;
  border:1px solid rgba(201,154,69,.35);
}
.odreturns-ui-refresh .odreturns-hero h1{color:#fff!important;}
.odreturns-kicker,.odreturns-kicker:before{color:#e7d6b5!important;}
.odreturns-kicker:before{background:#c99a45!important;}
.odreturns-stepbar-modern span.active,
.odreturns-btn,.odreturns-main-action,.odreturns-page .btn-primary{
  background:#240c0b!important;
  border-color:#240c0b!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(36,12,11,.22)!important;
}
.odreturns-btn:hover,.odreturns-page .btn-primary:hover{
  background:#3a1412!important;
  border-color:#3a1412!important;
}
.odreturns-card,.odreturns-order-box{
  border-color:#e7d6b5!important;
  background:#fff!important;
}
.odreturns-order-card:before{background:linear-gradient(#240c0b,#c99a45)!important;}
.odreturns-reason-card:hover{border-color:#c99a45!important;background:#fbf7ef!important;}
.odreturns-policy-box,
.odreturns-policy-box--warning{
  background:linear-gradient(180deg,#fbf7ef,#fff)!important;
  border-color:#c99a45!important;
  color:#1d1714!important;
}
.odreturns-dropzone,
.odreturns-upload-card .odreturns-dropzone{
  background:linear-gradient(180deg,#fbf7ef,#fff)!important;
  border-color:#c99a45!important;
}
.odr-badge--warning{background:#fbf0d8!important;color:#7b4f11!important;}
.odr-badge--closed{background:#f3e9db!important;color:#3a1412!important;}
.odr-badge--open,.odr-badge--manual_review{background:#efe1d2!important;color:#240c0b!important;}
.odreturns-general-contact{background:linear-gradient(135deg,#fbf7ef,#fff)!important;border-color:#e7d6b5!important;}


/* OD Returns 0.3.8 - small-screen compatibility and generic-request simplification */
.odreturns-page img,
.odreturns-page svg,
.odreturns-page video{max-width:100%;height:auto;}
.odreturns-page .form-control,
.odreturns-page input,
.odreturns-page select,
.odreturns-page textarea{max-width:100%;}
.odreturns-layout-2>*,
.odreturns-form-grid>*,
.odreturns-path-grid>*,
.odreturns-grid>*{min-width:0;}
.odreturns-card p,
.odreturns-card a,
.odreturns-policy-box p,
.odreturns-confirm-box,
.odreturns-attachment-line{overflow-wrap:anywhere;word-break:break-word;}
.odreturns-general-contact{margin-top:0!important;}
.odreturns-info-strip + .odreturns-general-contact{margin-top:0!important;}
.odreturns-grid--2>.odreturns-card{flex:1 1 calc(50% - 8px);min-width:280px;margin-bottom:0;}
.odreturns-generic-review{display:flex;flex-direction:column;gap:18px;}
.odreturns-generic-review .odreturns-card{margin-bottom:0;}
.odreturns-generic-confirm-bar{display:flex;justify-content:flex-end;align-items:center;padding-top:2px;}
.odreturns-review-summary-card p:last-child,
.odreturns-review-attachments-card p:last-child{margin-bottom:0;}
.odreturns-order-meta strong{overflow-wrap:anywhere;}
.odreturns-page .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.odreturns-linked-request>*{min-width:0;}

@media(max-width:767px){
  .odreturns-page{padding:0 12px 24px!important;margin-bottom:24px;}
  .odreturns-stepbar-modern{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    gap:6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    border-radius:16px!important;
    scroll-snap-type:x proximity;
  }
  .odreturns-stepbar-modern span{
    flex:0 0 auto;
    white-space:nowrap;
    scroll-snap-align:start;
    padding:9px 12px!important;
    font-size:12px!important;
  }
  .odreturns-ui-refresh .odreturns-hero,
  .odreturns-view>h1{
    padding:21px 18px!important;
    border-radius:17px!important;
    margin-bottom:18px;
  }
  .odreturns-ui-refresh .odreturns-hero h1,
  .odreturns-view>h1{
    font-size:clamp(24px,8vw,29px)!important;
    line-height:1.12;
    overflow-wrap:anywhere;
  }
  .odreturns-ui-refresh .odreturns-hero p{font-size:14px;line-height:1.55;}
  .odreturns-card,
  .odreturns-order-box,
  .odreturns-path-card,
  .odreturns-confirm-box,
  .odreturns-policy-box{padding:16px!important;border-radius:16px!important;}
  .odreturns-card h2,
  .odreturns-path-card h2,
  .odreturns-policy-box h2{font-size:21px;line-height:1.2;overflow-wrap:anywhere;}
  .odreturns-info-strip{gap:10px;margin:16px 0 20px;}
  .odreturns-info-strip>div{padding:16px;border-radius:13px;}
  .odreturns-path-grid{gap:14px;margin:16px 0;}
  .odreturns-order-meta{align-items:flex-start;}
  .odreturns-order-meta strong{max-width:58%;text-align:right;}
  .odreturns-form-actions,
  .odreturns-generic-confirm-bar{justify-content:stretch;}
  .odreturns-form-actions .btn,
  .odreturns-generic-confirm-bar .btn{width:100%;}
  .odreturns-product-row{width:100%;}
  .odreturns-product-row label{width:100%;min-width:0;}
  .odreturns-product-row input[type=number]{width:100%;max-width:130px;}
  .odreturns-dropzone{padding:18px 14px;}
  .odreturns-description-card textarea{min-height:160px!important;}
  .odreturns-upload-card .odreturns-dropzone{min-height:145px!important;}
  .odreturns-grid--2>.odreturns-card{flex-basis:100%;min-width:0;margin-bottom:0;}
  .odreturns-actions-row{flex-direction:column;align-items:stretch;}
  .odreturns-actions-row form,
  .odreturns-actions-row .btn{width:100%;}
  .odreturns-linked-request{align-items:flex-start;}

  /* Requests list becomes a readable card list instead of a squeezed table. */
  .odreturns-account .table-responsive{overflow:visible;border:0;}
  .odreturns-account .odreturns-table,
  .odreturns-account .odreturns-table tbody,
  .odreturns-account .odreturns-table tr,
  .odreturns-account .odreturns-table td{display:block;width:100%;}
  .odreturns-account .odreturns-table thead{display:none;}
  .odreturns-account .odreturns-table tr{
    border:1px solid var(--odr-line,#eadcc7);
    border-radius:16px;
    padding:12px 14px;
    margin-bottom:12px;
    box-shadow:0 8px 24px rgba(36,12,11,.06);
    background:#fff;
  }
  .odreturns-account .odreturns-table td{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    border:0!important;
    padding:7px 0!important;
    text-align:right;
    overflow-wrap:anywhere;
  }
  .odreturns-account .odreturns-table td:before{
    content:attr(data-label);
    flex:0 0 40%;
    font-weight:800;
    color:#6f625c;
    text-align:left;
  }
  .odreturns-account .odreturns-table .odreturns-table-action{display:block;text-align:left;padding-top:12px!important;}
  .odreturns-account .odreturns-table .odreturns-table-action:before{display:none;}
  .odreturns-account .odreturns-table .odreturns-table-action .btn,
  .odreturns-account .odreturns-table .odreturns-table-action a{display:block;width:100%;text-align:center;}
}

@media(max-width:575px){
  .odreturns-page{padding-left:8px!important;padding-right:8px!important;}
  .odreturns-header{gap:14px;margin-bottom:16px;}
  .odreturns-header .btn{width:100%;text-align:center;}
  .odreturns-page .btn,
  .odreturns-path-card .btn,
  .odreturns-general-contact .btn{width:100%;text-align:center;}
  .odreturns-reasons{grid-template-columns:1fr;gap:10px;}
  .odreturns-reason-card{padding:15px!important;}
  .odreturns-order-card{padding:16px!important;}
  .odreturns-order-meta{gap:8px;}
  .odreturns-order-meta span{max-width:42%;}
  .odreturns-order-meta strong{max-width:58%;}
  .odreturns-info-strip>div{padding:15px;}
  .odreturns-generic-review{gap:14px;}
  .odreturns-account .odreturns-table td{gap:10px;}
}

/* OD Returns 0.4.0 - customer ticket/RMA conversation UI */
.odreturns-page{
  --odr-ticket-red:#9f1d20;
  --odr-ticket-purple:#6d3c8c;
  --odr-ticket-yellow:#a26d00;
  --odr-ticket-blue:#236c8e;
  --odr-ticket-black:#171717;
  --odr-ticket-gray:#747474;
}
.odr-ticket-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  padding:28px 32px;
  margin-bottom:24px;
  border-radius:24px;
  background:linear-gradient(135deg,#240c0b 0%,#3a1412 62%,#7d5730 100%);
  color:#fff;
  box-shadow:0 18px 50px rgba(36,12,11,.14);
}
.odr-ticket-hero h1{margin:6px 0 4px;color:#fff;font-size:clamp(26px,4vw,38px);line-height:1.08;word-break:break-word;}
.odr-ticket-subject{margin:0;color:rgba(255,255,255,.84);font-size:16px;}
.odr-ticket-status-block{display:flex;flex-direction:column;align-items:flex-end;gap:8px;text-align:right;min-width:220px;}
.odr-ticket-status-block small{color:rgba(255,255,255,.78);}
.odr-case-kind{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.08em;}
.odr-case-kind--rma{background:#ead7b5;color:#2c1a0f;}
.odr-case-kind--ticket{background:#fff;color:#240c0b;}
.odr-ticket-badge{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:8px 13px;border-radius:999px;color:#fff;font-size:13px;font-weight:800;line-height:1.25;text-align:center;}
.odr-ticket-badge--draft{background:var(--odr-ticket-gray,#747474);}
.odr-ticket-badge--new{background:var(--odr-ticket-red,#9f1d20);}
.odr-ticket-badge--agent_reply_needed{background:var(--odr-ticket-purple,#6d3c8c);}
.odr-ticket-badge--in_progress{background:var(--odr-ticket-yellow,#a26d00);}
.odr-ticket-badge--waiting_customer{background:var(--odr-ticket-blue,#236c8e);}
.odr-ticket-badge--closed{background:var(--odr-ticket-black,#171717);}
.odreturns-account .odreturns-table th:nth-child(4),
.odreturns-account .odreturns-table td:nth-child(4){min-width:180px;}
.odreturns-account .odreturns-table th:nth-child(6),
.odreturns-account .odreturns-table td:nth-child(6){min-width:82px;}
.odreturns-account .odreturns-table-action .btn{white-space:nowrap;}
.odr-ticket-summary-grid{align-items:stretch;}
.odr-summary-list{display:grid;gap:10px;margin:0 0 18px;}
.odr-summary-list>div{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);gap:16px;padding-bottom:9px;border-bottom:1px solid #eee2d1;}
.odr-summary-list dt{color:#76685e;font-weight:700;}
.odr-summary-list dd{margin:0;color:#211714;font-weight:700;overflow-wrap:anywhere;}
.odr-status-large{margin:12px 0 16px;}
.odr-waiting-note,.odr-closed-note{margin:0 0 16px;color:#675b53;}
.odr-rma-phase{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border-radius:14px;background:#fbf6ed;border:1px solid #eadcc5;}
.odr-rma-phase span{color:#72645a;}
.odr-rma-phase strong{text-align:right;}
.odr-product-list{display:grid;gap:10px;}
.odr-product-line{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;border-radius:14px;border:1px solid #eadfce;background:#fffaf2;}
.odr-product-line span{color:#6f625c;white-space:nowrap;}
.odr-info-box{padding:15px 17px;border-radius:14px;background:#f8f3ea;border:1px solid #e4d5bc;}
.odr-info-box p{margin:6px 0;overflow-wrap:anywhere;}
.odr-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;}
.odr-section-heading h2{margin:4px 0 0;}
.odr-conversation{display:flex;flex-direction:column;gap:14px;margin:6px 0 24px;}
.odr-message{width:min(82%,760px);padding:16px 18px;border-radius:18px;border:1px solid #e7dac7;box-shadow:0 8px 25px rgba(38,24,14,.055);}
.odr-message--support{align-self:flex-start;background:#fbf5e9;border-top-left-radius:5px;}
.odr-message--customer{align-self:flex-end;background:#fff;border-color:#d9c39c;border-top-right-radius:5px;}
.odr-message-meta{display:flex;justify-content:space-between;gap:14px;align-items:baseline;margin-bottom:8px;}
.odr-message-meta strong{color:#2a1512;}
.odr-message-meta time{font-size:12px;color:#81746b;white-space:nowrap;}
.odr-message-body{color:#2b2420;line-height:1.6;overflow-wrap:anywhere;}
.odr-message-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.odr-attachment-link{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #dfcfb4;color:#3b241b;text-decoration:none;font-size:13px;font-weight:700;}
.odr-attachment-link span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.odr-attachment-link:hover{background:#f7eddd;text-decoration:none;}
.odr-empty-state{padding:18px;border-radius:14px;background:#faf7f1;color:#71665d;}
.odr-customer-reply-form{padding:22px;border-radius:18px;background:#fffaf2;border:1px solid #e4d3b7;}
.odr-customer-reply-form h3{margin-top:0;color:#2b1511;}
.odr-customer-reply-form textarea{min-height:145px;resize:vertical;}
.odr-reply-upload small{display:block;margin-top:7px;color:#77695f;}
.odr-ticket-readonly{padding:18px 20px;border-radius:16px;background:#f2f2f2;border-left:5px solid #171717;}
.odr-ticket-readonly p{margin:6px 0 0;color:#5d5d5d;}
.odr-inline-form{margin-top:18px;}

/* Guest portal result cards */
.odr-guest-cases{display:grid;gap:12px;margin-top:16px;}
.odr-guest-case{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;border:1px solid #e8dac6;border-radius:16px;background:#fff;}
.odr-guest-case__meta{min-width:0;}
.odr-guest-case__meta strong,.odr-guest-case__meta span,.odr-guest-case__meta small{display:block;}
.odr-guest-case__meta strong{overflow-wrap:anywhere;}
.odr-guest-case__meta span{margin-top:5px;color:#6b5e55;}
.odr-guest-case__meta small{margin-top:5px;color:#8a7c72;}

@media(max-width:767px){
  .odr-ticket-hero{flex-direction:column;padding:22px 20px;border-radius:18px;}
  .odr-ticket-status-block{align-items:flex-start;text-align:left;min-width:0;width:100%;}
  .odr-summary-list>div{grid-template-columns:1fr;gap:3px;}
  .odr-rma-phase,.odr-product-line{align-items:flex-start;flex-direction:column;gap:6px;}
  .odr-rma-phase strong{text-align:left;}
  .odr-product-line span{white-space:normal;}
  .odr-message{width:94%;padding:14px;}
  .odr-message-meta{flex-direction:column;gap:2px;}
  .odr-message-meta time{white-space:normal;}
  .odr-customer-reply-form{padding:17px 14px;}
  .odr-btn-full-mobile{display:block;width:100%;white-space:normal;}
  .odreturns-actions-row{display:grid!important;grid-template-columns:1fr!important;width:100%;}
  .odreturns-actions-row .btn{width:100%;white-space:normal;}
  .odr-guest-case{align-items:stretch;flex-direction:column;}
  .odr-guest-case .btn{width:100%;white-space:normal;}
}

@media(max-width:420px){
  .odr-ticket-hero{padding:19px 16px;}
  .odr-ticket-badge{width:100%;}
  .odr-message{width:100%;}
  .odr-message-attachments{display:grid;grid-template-columns:minmax(0,1fr);}
  .odr-attachment-link{width:100%;}
}
.odr-guest-case-list{display:grid;gap:12px;margin-top:18px;}
.odr-guest-case-card{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 18px;border:1px solid #e8dac6;border-radius:16px;background:#fff;}
.odr-guest-case-card>div:first-child{min-width:0;}
.odr-guest-case-card strong,.odr-guest-case-card span,.odr-guest-case-card small{display:block;}
.odr-guest-case-card strong{overflow-wrap:anywhere;}
.odr-guest-case-card>div:first-child span{margin-top:5px;color:#6b5e55;}
.odr-guest-case-card small{margin-top:5px;color:#8a7c72;}
.odr-guest-case-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:220px;}
@media(max-width:767px){
  .odr-guest-case-card{align-items:stretch;flex-direction:column;}
  .odr-guest-case-actions{align-items:stretch;min-width:0;width:100%;}
  .odr-guest-case-actions .btn{width:100%;white-space:normal;}
}
.odr-customer-new{display:inline-block;margin-top:6px;padding:4px 7px;border-radius:999px;background:#6d3c8c;color:#fff;font-size:10px;font-weight:900;letter-spacing:.04em;}
/* Il vecchio compositore messaggi del dettaglio ordine è sostituito da OD Returns. */
body#order-detail .order-message-form,
body.page-order-detail .order-message-form{
  display:none!important;
}

/*
 * Alcuni temi personalizzati non applicano l'utility responsive hidden-md-up
 * del tema Classic. Nel dettaglio ordine questo rende visibili insieme le
 * tabelle desktop e le copie mobile di prodotti, totali e spedizione.
 */
@media(min-width:768px){
  body#order-detail .hidden-md-up,
  body.page-order-detail .hidden-md-up{
    display:none!important;
  }
}
