/* ============================================================
   AIRLINE COMPATIBILITY — giao diện drawer trượt từ cạnh phải
   (tham khảo chức năng tương tự trên website Delsey)
   ============================================================ */

.ac-wrap { margin: 0; display: inline; position: absolute; right: 20px; }
.ac-wrap[hidden] { display: none !important; }

.ac-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.ac-open-btn:hover { color: #000; }
.ac-plane { font-size: 14px;}

.ac-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 9998;
  opacity: 0;
  transition: opacity .3s ease;
}
.ac-overlay.open { opacity: 1; }
.ac-overlay[hidden] { display: none !important; }

.ac-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(430px, 94vw);
  background: #fff;
  z-index: 9999;
  transform: translateX(105%);
  transition: transform .32s ease;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 20px;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .12);
  overflow: hidden;
  box-sizing: border-box;
}
.ac-drawer.open { transform: none; }
.ac-drawer[hidden] { display: none !important; }

.ac-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  padding: 6px;
}

.ac-title { font-size: 22px; letter-spacing: .06em; margin: 0 0 10px; color: #111; }
.ac-count { font-size: 14px; color: #444; margin: 0 0 14px; }

.ac-product-card {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.ac-pimg { width: 64px; height: 64px; object-fit: contain; flex: none; }
.ac-pname { font-weight: 600; font-size: 14px; color: #111; }
.ac-pdims { font-size: 13px; color: #666; }

.ac-disclaimer {
  font-size: 12px;
  color: #777;
  background: #fafafa;
  border-left: 3px solid #ddd;
  padding: 8px 10px;
  margin: 0 0 14px;
}

.ac-search {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 42px !important;
  padding: 10px 12px !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  margin: 0 0 10px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  color: #222 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.ac-toggle {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  margin: 0 0 12px;
  background: #f2f9f3;
  border: 1px solid #cfe6d2;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #1c6b32;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.ac-toggle .ac-box {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 5px;
  border: 2px solid #1c9c4b;
  background: #1c9c4b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}
.ac-toggle:not(.is-on) {
  background: #fafafa;
  border-color: #e0e0e0;
  color: #666;
}
.ac-toggle:not(.is-on) .ac-box {
  background: #fff;
  border-color: #bbb;
}
.ac-toggle:not(.is-on) .ac-tick {
  visibility: hidden;
}

.ac-cols {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #888;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.ac-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}
.ac-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid #f2f2f2;
  font-size: 14px;
  color: #222;
}
.ac-name { flex: 1; }
.ac-dims { color: #666; font-size: 13px; white-space: nowrap; }
.ac-status {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.ac-row.is-ok .ac-status { background: #1c9c4b; color: #fff; }
.ac-row.is-no .ac-status { background: #d33; color: #fff; }
.ac-sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ac-empty {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 28px 16px;
}
.ac-empty[hidden] { display: none !important; }