.fb-ads-plugin-container {
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    color: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Tiêu đề rực rỡ */
.plugin-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height:1.2;
}
.ai-mode-select {
  margin: 20px auto;
}

/* Lưới các nút - Sử dụng Grid */
.grid-mode {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  padding: 10px;
}

/* Style cơ bản cho mỗi nút */
.mode-btn {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  padding: 15px 10px;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  /* Icon ở trên, chữ ở dưới */
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Icon dashicons */
.mode-btn .dashicons {
  font-size: 24px;
  width: 24px;
  height: 24px;
  color: #9ca3af;
  transition: transform 0.3s ease;
}

/* Hiệu ứng khi Hover */
.mode-btn:hover {
  background: #f9fafb;
  border-color: #6366f1;
  color: #6366f1;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.mode-btn:hover .dashicons {
  transform: scale(1.2);
  color: #6366f1;
}

/* Trạng thái ACTIVE (Đang chọn) */
.mode-btn.active {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.mode-btn.active .dashicons {
  color: #ffffff;
}

/* Phần nhãn hiển thị phía dưới */
.mode-label {
  margin-top: 20px;
  text-align: center;
  padding: 12px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 30px;
  border: 1px dashed #6366f1;
}

#mode-text {
  font-weight: 700;
  color: #4f46e5;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
    display: flex;
        align-items: center;
        justify-content: center;
}

/* Hiệu ứng bấm nút (Click) */
.mode-btn:active {
  transform: scale(0.95);
}

/* Responsive cho điện thoại */
@media (max-width: 480px) {
  .grid-mode {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Tabs Header */
.tabs-header {
    display: flex;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.tab-btn {
    border: none;
    outline: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background: transparent;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.tab-btn.active {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
      color: white !important;
      box-shadow: 0 4px 15px rgba(110, 142, 251, 0.4);
}

.tab-btn:hover:not(.active) {
  border:1px solid #6e8efb;
}
.tab-btn:not(.active) {
  border:1px solid #6e8efb54;
}
.tab-btn .emoji {
    width: 18px;
    height: 18px;
}
.tab-content{display:none}
.tab-content.active{display:block}
.btn-back{
background:#f1f1f1;
color:#333;
border-radius:6px;
margin-right:10px;
display:flex;
align-items:center;
gap:5px;
}

.btn-back:hover{
background:#e2e2e2;
}
/* Grid Layout */
.form-grid {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .form-grid {  flex-direction: column; }
    .form-inputs{margin:0 !important}
    .fb-ads-plugin-container{    padding: 10px!important;margin:0;}
       
}

.form-inputs {
    margin: 20px auto;
      flex: 1;
      padding: 10px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 16px;
      box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.18);
      transition: transform 0.3s ease;
}

/* Group chứa Label và Input */
.input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  /* Để các ô trong cùng 1 hàng có độ rộng bằng nhau */
}

/* Style cho nhãn (Label) */
.input-group label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-left: 5px;
}

/* Style chung cho Input và Select */
.input-group input,
.input-group select,.input-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  color: #1e293b;
  background-color: #f8fafc;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
      font-family: 'Quicksand', sans-serif;
}

/* Hiệu ứng khi nhấn vào ô nhập liệu (Focus) */
.input-group input:focus,
.input-group select:focus {
  border-color: #6366f1;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

/* Bố cục hàng (Row) để chia 2 cột */
.row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  /* Tự động xuống hàng trên mobile */
}

/* Nút bấm Tạo nội dung */
.btn-generate {
  width: 100%;
  margin-top: 10px;
  padding: 15px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s shadow;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  filter: brightness(1.1);
}

.btn-generate:active {
  transform: scale(0.98);
}

.btn-generate img.emoji {
  width: 20px;
  height: 20px;
}

/* Responsive cho điện thoại */
@media (max-width: 600px) {
  .row {
    flex-direction: column;
    gap: 0;
  }
}

.content-result {
  flex:1.5;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease;
}

.content-result:hover {
  transform: translateY(-5px);
}


.content-pro-title {
  font-size: 2rem;
  /* Tự động co giãn theo màn hình */
  color: #1d1d1f;
  text-align: center;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.content-pro-title strong {
  position: relative;
  font-weight: 900;
  padding: 0 5px;

  /* Hiệu ứng Text Gradient đa lớp */
  background: linear-gradient(to right,
      #4f46e5 20%,
      #ec4899 40%,
      #f59e0b 60%,
      #4f46e5 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;

  /* Animation luân chuyển màu cực mượt */
  animation: shine-sweep 4s linear infinite;
}

/* Hiệu ứng "đám mây màu" phía sau chữ (Glow effect) */
.content-pro-title strong::before {
  content: "Content Pro";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(25px);
  opacity: 0.4;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Keyframes cho hiệu ứng quét ánh sáng */
@keyframes shine-sweep {
  to {
    background-position: 200% center;
  }
}
.result-box:focus {
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.btn-copy {
  margin-top: 10px;
  padding: 15px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s shadow;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-copy:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

.btn-copy:active {
  transform: scale(0.95);
}

.btn-copy img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1); /* Làm icon trắng để hợp với nút */
}
#fac-result{
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: auto;
}

/* Heading */
#fac-result h1{
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #222;
}

#fac-result h2{
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #222;
}

#fac-result h3{
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
}

/* Paragraph */
#fac-result p{
    margin-bottom: 15px;
}

/* List */
#fac-result ul{
    margin: 15px 0;
    padding-left: 25px;
}

#fac-result li{
    margin-bottom: 8px;
}

/* Bold */
#fac-result strong{
    color: #000;
    font-weight: 600;
}

/* Box style */
#fac-result.result-box{
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    min-height: 500px;
}
.content-stats{
display:flex;
gap:20px;
justify-content:center;
margin-bottom:15px;
font-size:14px;
font-weight:600;
color:#444;
}

.content-stats span{
background:#f1f5f9;
padding:6px 12px;
border-radius:20px;
}

.fac-history-container{
display:flex;
gap:24px;
margin:20px 0;
height:600px;
}

/* Sidebar */
.fac-history-sidebar {
    width:20%;
    padding:15px;
    overflow-y:auto;
        background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgb(237 237 237);
}

/* Header */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ebebeb;
}

.sidebar-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.count-badge {
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(99, 102, 241, .3);
}

/* List */
.history-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Card */
.history-card {
  border: 1px solid #6366f1;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all .3s cubic-bezier(.23, 1, .32, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Hover */
.history-card:hover {
  background: #f9fafb;
  border-color: #6366f1;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Active */
.history-card.active {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(99, 102, 241, .3);
}

.history-card.active .history-date {
  color: #e5e7eb;
}

/* Nội dung */
.card-body {
  flex: 1;
}

.history-topic {
font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
  word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-date {
  font-size: 12px;
  color: #6b7280;
}
.history-meta{
display:flex;
gap:8px;
margin:4px 0;
}

.history-mode{
background:#6366f1;
color:#fff;
padding:2px 6px;
font-size:11px;
border-radius:4px;
}

.history-category{
background:#10b981;
color:#fff;
padding:2px 6px;
font-size:11px;
border-radius:4px;
display: flex;
    align-items: center;
}
/* Delete button */
.card-actions {
  margin-left: 8px;
}

.btn-icon-delete {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all .2s;
}

.btn-icon-delete:hover {
  background: #ff8c8c;
  color:#fff;
}

.btn-icon-delete .dashicons {
  font-size: 18px;
  color: #9ca3af;
}

.history-card.active .dashicons {
  color: #fff;
}

/* MAIN CONTENT */
.fac-history-main{
    width:80%;
    background:#ffffff;
    padding:20px 25px;
    background: rgba(255, 255, 255, 0.95);
      border-radius: 16px;
      box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
      border: 1px solid rgb(237 237 237);
    height:100%;
    overflow-y:auto;
}

/* HEADER */
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ebebeb;
}

.detail-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

/* COPY BUTTON */
.btn-copy-history {
  border: none;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  transition: all .25s ease;
  box-shadow: 0 6px 14px rgba(99, 102, 241, 0.3);
}

.btn-copy-history:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.35);
}

/* CONTENT AREA */
#fac-history-content {
  max-height: 650px;
  overflow: auto;
  padding-right: 10px;
  line-height: 1.7;
  font-size: 15px;
  color: #374151;
}

/* SCROLLBAR */
#fac-history-content::-webkit-scrollbar {
  width: 6px;
}

#fac-history-content::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 10px;
}

/* HEADING */
#fac-history-content h1 {
font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #222;
}

#fac-history-content h2 {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #222;
}

/* PARAGRAPH */
#fac-history-content p {
  margin-bottom: 12px;
}

/* LIST */
#fac-history-content ul {
  margin-left: 18px;
  margin-bottom: 14px;
}

#fac-history-content li {
  margin-bottom: 6px;
}

/* EMOJI */
#fac-history-content img.emoji {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
}

/* STRONG */
#fac-history-content strong {
 color: #000;
    font-weight: 600;
}
.result-box{
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  margin-top:20px;
  z-index:1;
    border: none;
}
  /* Viền Gradient chuyển động xung quanh */
  .result-box::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(45deg, #6366f1, #a855f7, #ec4899, #6366f1);
    background-size: 400% 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientMove 4s linear infinite;
    pointer-events: none;
  }
.loader-wrap{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
  /* Icon Loading đa tầng */
  .loader-container {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  }

  .loader-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: Logo AI công nghệ cao (tech);
    font-size: 20px;
    animation: pulse-icon 1.5s ease-in-out infinite;
  }
.loader-core img{width:50px;border-radius: 50%;}
  /* Hiệu ứng chữ đang tạo nội dung */
  .status-text {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(90deg, #1e293b, #64748b, #1e293b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 2s linear infinite;
  }

  .typing-dots::after {
    content: '...';
    display: inline-block;
    width: 20px;
    animation: dots 1.5s steps(4, end) infinite;
  }

  /* Animations */
  @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
  
  @keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  @keyframes shineText {
    to { background-position: 200% center; }
  }

  @keyframes dots { 0%, 20% { content: ''; } 40% { content: '.'; } 60% { content: '..'; } 80%, 100% { content: '...'; } }

  @keyframes pulse-icon {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  }
    /* =========================
     RESPONSIVE
  ========================= */
  
    /* Tablet */
    @media (max-width: 1024px) {
      .fac-history-container {
        gap: 16px;
      }
  
      .fac-history-sidebar {
        width: 30%;
      }
  
      .fac-history-main {
        width: 70%;
      }
    }
  
    /* =========================
     MOBILE SCROLL HORIZONTAL
  ========================= */
  
    @media (max-width:768px) {
      /* Mobile */
      @media (max-width: 768px) {
  
        .fac-history-container {
          flex-direction: column;
          height: auto;
        }
  
        .fac-history-sidebar {
          width: 100%;
          max-height: 300px;
        }
  
        .fac-history-main {
          width: 100%;
          height: auto;
          padding: 18px;
        }
  
        #fac-history-content {
          max-height: none;
        }
  
        .history-card {
          padding: 10px;
        }
  
        .history-topic {
          font-size: 14px;
        }
  
        .detail-header h3 {
          font-size: 16px;
        }
  
      }
  
      .history-topic {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 4px;
        line-height: 1.4;
  
        max-width: 180px;
        /* giới hạn width */
  
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* tối đa 2 dòng */
        -webkit-box-orient: vertical;
  
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  
  
    /* Small mobile */
    @media (max-width:480px) {
  
      .fac-history-sidebar {
        padding: 12px;
      }
  
      .fac-history-main {
        padding: 15px;
      }
  
      .history-meta {
        flex-wrap: wrap;
        gap: 5px;
      }
  
      .btn-copy-history {
        padding: 6px 12px;
        font-size: 12px;
      }
  
    }
  .fac-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:.25s;
    z-index:9999;
}

.fac-modal.show{
    opacity:1;
    visibility:visible;
}

.fac-modal-box{
    background:#fff;
    padding:25px;
    border-radius:10px;
    width:320px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    animation:facPop .25s ease;
}

@keyframes facPop{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.fac-modal-title{
    font-size:20px;
    font-weight:600;
    margin-bottom:10px;
}

.fac-modal-text{
    font-size:14px;
    color:#666;
    margin-bottom:20px;
}

.fac-modal-actions{
    display:flex;
    gap:10px;
    justify-content:center;
}

.fac-btn{
    border:none;
    padding:8px 16px;
    border-radius:6px;
    cursor:pointer;
    font-size:14px;
}

.fac-cancel{
    background:#eee;
}

.fac-delete{
    background:#ff3b30;
    color:white;
}
/* Container chính */
.ai-remaining-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    gap: 15px;
}

/* Phần văn bản thông báo */
.ai-remaining-hetluot {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Icon Emoji */
.ai-remaining-hetluot img.emoji {
    width: 20px;
    height: 20px;
}

/* Nút Mua thêm lượt */
.ai-buy-more {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white !important;
    text-decoration: none !important;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(118, 75, 162, 0.3);
}

/* Hiệu ứng khi di chuột vào nút */
.ai-buy-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(118, 75, 162, 0.4);
    opacity: 0.9;
}

/* Responsive cho điện thoại */
@media (max-width: 480px) {
    .ai-remaining-wrap {
        flex-direction: column;
        padding: 15px;
    }
    .ai-buy-more {
        width: 100%;
        text-align: center;
    }
}