.rw-text-primary { color: var(--rw-color-gray-800); }
.rw-text-secondary { color: var(--rw-color-gray-600); }
.rw-text-accent { color: var(--rw-color-accent); }
.rw-mt-2 { margin-top: 0.5rem; }
.rw-mt-3 { margin-top: 1rem; }
.rw-mt-4 { margin-top: 2rem; }
.rw-mb-3 { margin-bottom: 1rem; }
.rw-mb-4 { margin-bottom: 1.5rem; }
.rw-mr-2 { margin-right: 0.5rem; }
.rw-text-center { text-align: center; }
.rw-text-right { text-align: right; }

.rw-order-card {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.rw-card {
  overflow: hidden;
}

.rw-card-header {
  text-align: center;
  padding: 10px;
  width: fit-content;
  margin: 10px auto;
}

.rw-card-header h3 {
  margin-bottom: 0;
}

.rw-card-body {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: center;
  padding: 1.25rem;
}

@media (max-width: 768px) {
  .rw-card-body {
    width: 100%;
  }
}

.rw-order-header {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rw-order-header dl,
.rw-order-header .rw-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
  align-content: center;
}

.rw-order-header dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0;
}

.rw-order-header dd {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.rw-order-total {
  font-size: 1.1rem;
  font-weight: 700;
}

.rw-order-body {
  padding: 0.5rem 1.25rem;
}

@media (max-width: 768px) {
  .rw-order-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.rw-product-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.rw-product-row:last-child {
  border-bottom: none;
}

.rw-product-img {
  flex-shrink: 0;
  width: 100px;
  text-align: center;
}

.rw-product-img img {
  max-height: 100px;
  padding: 4px;
}

.rw-product-details {
  flex: 1;
  min-width: 200px;
}

.rw-product-name {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.rw-product-name:hover {
  text-decoration: underline;
}

.rw-product-quantity {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .rw-product-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.rw-product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  max-width: 220px;
}

.rw-action-item {
  width: 100%;
}

@media (max-width: 768px) {
  .rw-product-actions {
    min-width: 100%;
    max-width: 100%;
    margin-top: 1rem;
  }
}

.rw-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.rw-btn:hover {
  text-decoration: none;
}

.rw-btn .material-icons {
  font-size: 18px;
  line-height: 1;
}

.rw-btn-accent,
.rw-btn-accent:hover {
  font-weight: 600;
}

.rw-btn-block {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  font-size: 0.82rem;
  white-space: nowrap;
  gap: 8px;
}

button.rw-btn.rw-btn-danger.rw-btn-block.btn-withdrawal-action {
  width: fit-content;
}

@media (max-width: 768px) {
  .rw-btn-block {
    justify-content: center;
    text-align: center;
  }
}

.rw-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.rw-badge-block {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.rw-badge-expired,
.rw-badge-not {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .rw-badge-block {
    justify-content: center;
    text-align: center;
  }
}

.rw-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10500;
  align-items: center;
  justify-content: center;
  animation: rwFadeIn 0.2s ease;
  padding: 1rem;
}

.rw-modal {
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: rwSlideUp 0.25s ease-out;
}

.rw-modal-sm { max-width: 450px; }
.rw-modal-md { max-width: 650px; }
.rw-modal-lg { max-width: 850px; }

.rw-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.rw-modal-header h5 {
  font-size: 1.15rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rw-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.rw-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

@keyframes rwFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rwSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.rw-form-group {
  margin-bottom: 1.25rem;
}

.rw-form-group.rv-form-guest {
  display: flex;
  flex-direction: column;
}

.rw-form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.rw-form-control {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  transition: border 0.2s;
}

.rw-form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2);
}

.rw-form-control-sm {
  max-width: 400px;
}

textarea.rw-form-control {
  resize: vertical;
  min-height: 80px;
}

.rw-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rw-form-actions.rv-form-action-guest {
  justify-content: center;
}

.rw-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .rw-form-grid {
    grid-template-columns: 1fr;
  }
}

.rw-checkbox-wrapper {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.rw-checkbox-wrapper label {
  text-align: left;
  margin-left: 5px;
}

.rw-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
}

.rw-alert i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.rw-alert strong {
  display: block;
  margin-bottom: 0.25rem;
}

.rw-alert p {
  margin: 0;
  line-height: 1.5;
}

.rw-chat-container {
  padding: 1rem;
  max-height: 350px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rw-chat-bubble {
  max-width: 80%;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
}

.rw-chat-bubble p { margin: 0; }

.rw-chat-bubble small {
  display: block;
  font-size: 0.7rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.rw-chat-customer {
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.rw-chat-support {
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.rw-withdrawal-header {
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rw-withdrawal-section {
  margin-top: 1.5rem;
}

.rw-withdrawal-section .alert {
  border-radius: 0;
  margin-bottom: 0;
}

.rw-products-table {
  overflow: hidden;
}

.rw-products-header {
  display: none;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.rw-product-item {
  padding: 1rem;
  transition: background 0.15s ease;
}

.rw-product-item:last-child {
  border-bottom: none;
}

.rw-product-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rw-product-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.rw-product-item .product-checkbox:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.rw-product-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.rw-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.rw-product-ordered,
.rw-product-qty,
.rw-product-subtotal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rw-ordered-value {
  font-size: 0.9rem;
  font-weight: 500;
}

.rw-product-subtotal {
  font-size: 0.95rem;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .rw-products-header {
    display: grid;
    grid-template-columns: 40px 1fr 80px 120px 100px;
    gap: 1rem;
    align-items: center;
  }
  
  .rw-product-item {
    display: grid;
    grid-template-columns: 40px 1fr 80px 120px 100px;
    gap: 1rem;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .rw-product-item {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    grid-template-areas: 
      "check info qty"
      "check subtotal subtotal";
    gap: 0.5rem;
    padding: 0.75rem;
  }
  
  .rw-product-check { grid-area: check; }
  .rw-product-info { grid-area: info; }
  .rw-product-ordered { display: none; }
  .rw-product-qty { grid-area: qty; }
  .rw-product-subtotal { 
    grid-area: subtotal; 
    justify-content: flex-start;
    padding-top: 0.5rem;
    margin-top: 0.25rem;
  }
}

.rw-qty-control {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.rw-qty-btn {
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rw-qty-input {
  width: 50px;
  height: 28px;
  border: none;
  text-align: center;
  font-weight: 600;
}

.rw-modal-total {
  padding: 1rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 600;
}

.rw-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  z-index: 99999;
}

.rw-dot-notify {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 5px;
  animation: rwPulse 2s infinite;
}

@keyframes rwPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(209, 50, 18, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(209, 50, 18, 0); }
}

.rw-info-header {
  overflow: hidden;
}

.rw-info-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
}

.rw-info-header-title i {
  font-size: 1.5rem;
}

.rw-info-header-title h5 {
  margin: 0;
  font-size: 1rem;
}

.rw-info-header-body {
  padding: 1.5rem;
}

.rw-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.rw-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.rw-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.rw-info-icon i {
  font-size: 28px;
}

.rw-info-item h5 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.rw-info-item h6 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.rw-info-item p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.rw-info-item-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.rw-info-item-desc {
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .rw-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.rw-divider {
  margin: 1.25rem 0;
  border: none;
}

.rw-legal-notice {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  margin: 1rem 0 0.5rem;
  background: #fff8e1;
  border-left: 4px solid #f5b400;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #5d4a00;
}

.rw-legal-notice .material-icons {
  font-size: 18px;
  color: #f5b400;
  flex-shrink: 0;
  line-height: 1.45;
}

.rw-legal-notice p {
  margin: 0;
}

.rw-legal-notice strong {
  display: inline;
}

.rw-return-cost-notice {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 0.9rem;
  margin: 0.75rem 0 0;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.rw-return-cost-notice .material-icons {
  font-size: 18px;
  flex-shrink: 0;
}

.rw-return-cost-notice--customer {
  background: #f5f5f5;
  border-left: 4px solid #888;
  color: #444;
}

.rw-return-cost-notice--customer .material-icons {
  color: #666;
}

.rw-return-cost-notice--merchant {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  color: #1b5e20;
}

.rw-return-cost-notice--merchant .material-icons {
  color: #2e7d32;
}

.rw-excluded-badge {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.65rem 0.9rem;
  margin: 0.75rem 0;
  background: #fff3e0;
  border-left: 4px solid #ef6c00;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #6a3d00;
}

.rw-excluded-badge .material-icons {
  font-size: 18px;
  color: #ef6c00;
  flex-shrink: 0;
}

.rw-footer-link {
  text-align: center;
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.rw-footer-link a {
  color: inherit;
  text-decoration: underline;
}

.rw-footer-link a:hover {
  text-decoration: none;
}

.rw-info-excluded-list {
  margin: 0.25rem 0 0 1.25rem;
  padding: 0;
}

.rw-info-excluded-list li {
  margin-bottom: 0.25rem;
}

.rw-info-extra {
  background: #fafafa;
  border-radius: 6px;
  padding: 1rem 1.25rem;
}

.rw-info-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.rw-info-page {
  max-width: 900px;
  margin: 0 auto;
}

.rw-info-hero {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.rw-info-hero-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.rw-info-hero-icon i {
  font-size: 2rem;
}

.rw-info-hero-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.rw-info-hero-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

@media (max-width: 576px) {
  .rw-info-hero {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .rw-info-hero-icon {
    margin: 0 auto;
  }
}

.rw-info-section {
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.rw-info-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
}

@media (max-width: 768px) {
  .rw-info-section {
    padding: 1.25rem;
  }
}

.rw-info-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rw-info-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.rw-info-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.rw-info-step-content h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.rw-info-step-content p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.rw-info-step-links {
  margin-top: 0.5rem;
}

.rw-info-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.rw-info-icon-circle i {
  font-size: 1.8rem;
}

.rw-info-exceptions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.rw-exception-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  align-items: flex-start;
}

.rw-exception-item i {
  flex-shrink: 0;
}

.rw-exception-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.rw-exception-item p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .rw-info-exceptions {
    grid-template-columns: 1fr;
  }
}

.rw-info-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.rw-info-help-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: box-shadow 0.2s ease;
}

.rw-info-help-card i {
  font-size: 2.5rem;
}

.rw-info-help-card h5 {
  margin: 0;
  font-size: 0.95rem;
}

.rw-info-help-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .rw-info-help-grid {
    grid-template-columns: 1fr;
  }
}

.rw-star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.rw-star-rating-input input[type="radio"] {
  display: none;
}

.rw-star-rating-input label {
  cursor: pointer;
  font-size: 2rem;
  transition: color 0.2s ease, transform 0.15s ease;
  user-select: none;
  line-height: 1;
  margin-bottom: 0;
}

.rw-star-rating-input label:hover {
  transform: scale(1.15);
}

.rw-star-rating-input label:active {
  transform: scale(0.9);
}

.rw-rating-text {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  min-height: 1.5rem;
}

@media (max-width: 576px) {
  .rw-star-rating-input label {
    font-size: 1.6rem;
  }
}

.rw-reviews-section {
  margin: 2.5rem 0;
  padding: 1.5rem;
}

.rw-reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.rw-reviews-header h3 {
  margin: 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rw-global-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

.rw-global-rating .rw-average {
  font-size: 1.3rem;
  font-weight: 700;
}

.rw-global-rating .rw-stars {
  font-size: 1rem;
  letter-spacing: 1px;
}

.rw-global-rating .rw-total {
  font-size: 0.85rem;
}

.rw-reviews-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.25rem;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
}

.rw-reviews-scroll::-webkit-scrollbar {
  height: 6px;
}

.rw-reviews-scroll::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.rw-reviews-scroll::-webkit-scrollbar-thumb {
  border-radius: 3px;
}

.rw-review-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  padding: 1.25rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rw-review-card:hover {
  transform: translateY(-2px);
}

.rw-review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.rw-reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rw-reviewer-name i {
  font-size: 1.1rem;
}

.rw-review-stars {
  display: flex;
  gap: 1px;
}

.rw-review-stars i {
  font-size: 1rem;
}

.rw-review-date {
  font-size: 0.75rem;
}

.rw-review-content {
  font-size: 0.88rem;
  line-height: 1.6;
  flex-grow: 1;
  font-style: italic;
  position: relative;
  padding-left: 0.75rem;
}

.rw-review-content::before {
  content: '"';
  font-size: 2rem;
  position: absolute;
  left: -0.5rem;
  top: -0.5rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.rw-no-reviews {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

.rw-no-reviews i {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
}

@media (max-width: 576px) {
  .rw-review-card {
    flex: 0 0 260px;
  }
  
  .rw-reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .rw-reviews-section {
    padding: 1rem;
  }
}

.rw-instructions-list {
  padding-left: 1.25rem;
  line-height: 1.7;
}

.rw-instructions-list li {
  margin-bottom: 1.25rem;
}

.rw-instructions-list h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.rw-instructions-list p {
  font-size: 0.85rem;
  margin: 0;
}

.rw-instructions-content {
  line-height: 1.8;
  font-size: 0.9rem;
}

.rw-return-address {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.rw-excluded-overlay {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 10;
  padding: 2px 6px;
}

.rw-already-requested-overlay {
  position: absolute;
  top: -4px;
}

.withdrawal-card-guest {
  width: 50%;
  margin: auto;
}

@media (max-width: 768px) {
  .withdrawal-card-guest {
    width: 100%;
  }
}

.rw-product-list-item {
  display: grid;
  grid-template-columns: 30px 1fr 80px 100px 100px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.rw-product-list-item:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .rw-product-list-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.rw-btn:focus-visible {
  outline-offset: 2px;
}

td.text-center.withdrawal-action-cell.hidden-sm-down {
    padding: 0;
}

button.btn.btn-primary.btn-sm.btn-withdrawal-history {
    padding: 5px;
    font-size: 12px;
}
/* My-account sidebar items injected by the module - normalize so they look
 * like the rest of the theme's account links (avoid blue underline / weird
 * icon size) in PrestaShop 9.x default themes. */
.rw-account-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit !important;
    text-decoration: none !important;
    font-weight: inherit !important;
}
.rw-account-link a:hover,
.rw-account-link a:focus,
.rw-account-link a:active {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: inherit !important;
}
.rw-account-link a .material-icons {
    font-size: 1.25rem;
    line-height: 1;
    color: inherit !important;
    vertical-align: middle;
}
.rw-account-link a span {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: inherit !important;
}

.rw-refund-disclaimer {
    margin: 8px 0 0;
    color: #666;
    font-size: 0.85em;
    line-height: 1.45;
    text-align: right;
}

/* Wayfinding banner on order detail page (1.7.0) */
.rw-order-banner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    border-radius: 4px;
    border-left: 4px solid;
    box-sizing: border-box;
}
.rw-order-banner__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}
.rw-order-banner__icon .material-icons {
    font-size: 22px;
}
.rw-order-banner__body { flex: 1; min-width: 0; }
.rw-order-banner__title {
    margin: 0 0 4px 0;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}
.rw-order-banner__text {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0.95;
}
.rw-order-banner__cta { margin: 0; }
.rw-order-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    font-weight: 600;
    text-decoration: none;
}
.rw-order-banner__btn:hover { text-decoration: none; }

/* Style: info (blue, prominent — PS Classic-like) */
.rw-order-banner--info {
    background: #e7f3f9;
    border-left-color: #2fb4d9;
    color: #0c5460;
}
.rw-order-banner--info .rw-order-banner__icon { color: #2fb4d9; }

/* Style: subtle (gray, low contrast) */
.rw-order-banner--subtle {
    background: #f5f6f8;
    border-left-color: #adb5bd;
    color: #495057;
}
.rw-order-banner--subtle .rw-order-banner__icon { color: #6c757d; }

/* Style: accent (uses module accent color) */
.rw-order-banner--accent {
    background: rgba(var(--rw-accent-rgb, 255, 153, 0), 0.08);
    border-left-color: var(--rw-color-accent, #ff9900);
    color: var(--rw-text-color, #0f1111);
}
.rw-order-banner--accent .rw-order-banner__icon { color: var(--rw-color-accent, #ff9900); }

/* Variants per status: tweak vibe for pending/approved/rejected */
.rw-order-banner--approved { border-left-color: #28a745; }
.rw-order-banner--approved .rw-order-banner__icon { color: #28a745; }
.rw-order-banner--rejected { border-left-color: #dc3545; }
.rw-order-banner--rejected .rw-order-banner__icon { color: #dc3545; }
.rw-order-banner--pending { border-left-color: #f0ad4e; }
.rw-order-banner--pending .rw-order-banner__icon { color: #f0ad4e; }

@media (max-width: 575px) {
    .rw-order-banner { flex-direction: column; align-items: stretch; gap: 10px; }
    .rw-order-banner__icon { width: 28px; height: 28px; }
}

/* =========================================================================
   In-body status card styles (.withdrawal-section)
   Three presets mirroring the banner: default / subtle / accent.
   Independent of the banner — set in admin Features tab.
   ========================================================================= */
.withdrawal-section--default {
    /* Native PrestaShop card look — Bootstrap defaults are kept as-is. */
}

.withdrawal-section--subtle {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}
.withdrawal-section--subtle .card-header {
    background: transparent;
    border-bottom: 1px solid #eef0f3;
}
.withdrawal-section--subtle .card-title {
    color: #4b5563;
    font-weight: 600;
}
.withdrawal-section--subtle .alert {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

.withdrawal-section--accent {
    border: 1px solid rgba(var(--rw-accent-rgb, 255, 153, 0), 0.35);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.withdrawal-section--accent .card-header {
    background: rgba(var(--rw-accent-rgb, 255, 153, 0), 0.08);
    border-bottom: 1px solid rgba(var(--rw-accent-rgb, 255, 153, 0), 0.25);
}
.withdrawal-section--accent .card-title {
    color: var(--rw-color-accent, #ff9900);
    font-weight: 600;
}
.withdrawal-section--accent .btn-primary {
    background-color: var(--rw-color-accent, #ff9900);
    border-color: var(--rw-color-accent, #ff9900);
}
.withdrawal-section--accent .btn-primary:hover,
.withdrawal-section--accent .btn-primary:focus {
    filter: brightness(0.92);
}
