@charset "UTF-8";
body {
  position: relative;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/ava/logo.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  z-index: -1;
}

.gif {
  margin-top: 20px;
  width: 25% !important;
}

/*----------------------------------------*/
/* Template default CSS
/*----------------------------------------*/
html,
body {
  height: 100%;
  font-family: "Mulish", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: #111111;
  font-weight: 400;
  font-family: "Mulish", sans-serif;
}

h1 {
  font-size: 70px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  font-size: 15px;
  font-family: "Mulish", sans-serif;
  color: #3d3d3d;
  font-weight: 400;
  line-height: 25px;
  margin: 0 0 15px 0;
}

img {
  max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
  outline: none;
}

a:hover,
a:focus {
  text-decoration: none;
  outline: none;
  color: #ffffff;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

/*---------------------
  Helper CSS
-----------------------*/
.section-title {
  margin-bottom: 10px;
}
.section-title h4,
.section-title h5 {
  color: #442175;
  font-weight: 600;
  line-height: 21px;
  text-transform: uppercase;
  padding-left: 20px;
  position: relative;
  font-family: "Oswald", sans-serif;
}
.section-title h4:after,
.section-title h5:after {
  position: absolute;
  left: 0;
  top: -6px;
  height: 32px;
  width: 4px;
  background: #b49ad9;
  content: "";
}

.set-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.spad {
    padding-top: 100px;
  padding-bottom: 100px;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white span,
.text-white li,
.text-white a {
  color: #442175;
}

/* buttons */
.primary-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  background: #b49ad9;
  border-radius: 20px;
  padding: 6 8 8 12;
}
.primary-btn span {
  font-size: 18px;
  margin-left: 5px;
  position: relative;
  top: 3px;
}

.site-btn {
  font-size: 13px;
  color: #ffffff;
  background: #b49ad9;
  font-weight: 700;
  border: none;
  border-radius: 2px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  padding: 12px 30px;
}

/* Preloder */
#preloder {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999999;
  background: #000;
}

.loader {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -13px;
  margin-left: -13px;
  border-radius: 60px;
  animation: loader 0.8s linear infinite;
  -webkit-animation: loader 0.8s linear infinite;
}

@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    border: 4px solid #673ab7;
    border-left-color: transparent;
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
}
@-webkit-keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
  50% {
    -webkit-transform: rotate(180deg);
    border: 4px solid #673ab7;
    border-left-color: transparent;
  }
  100% {
    -webkit-transform: rotate(360deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
}
.spacial-controls {
  position: fixed;
  width: 111px;
  height: 91px;
  top: 0;
  right: 0;
  z-index: 999;
}

.spacial-controls .search-switch {
  display: block;
  height: 100%;
  padding-top: 30px;
  background: #323232;
  text-align: center;
  cursor: pointer;
}

.search-model {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #000;
  z-index: 99999;
}

.search-model-form {
  padding: 0 15px;
}

.search-model-form input {
  width: 500px;
  font-size: 40px;
  border: none;
  border-bottom: 2px solid #333;
  background: 0 0;
  color: #999;
}

.search-close-switch {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #333;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  font-size: 28px;
  line-height: 28px;
  top: 30px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* noti */
.notify-show {
  position: fixed;
  bottom: 5%;
  right: 30%;
  background-color: #333;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  animation: fadeInOut 8s forwards;
  z-index: 1000;
}
.notify-show .notify-icon {
  width: 24px;
  height: 24px;
  background-image: url("../img/ico/ava.ico");
  background-size: cover;
  margin-right: 10px;
}
.notify-show .notify-text {
  font-size: 14px;
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.notify-show .notify-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/*---------------------
  Product
-----------------------*/
.product {
  padding-bottom: 60px;
}

.product__container {
  padding: 50px;
  background-color: rgba(235, 226, 247, 0.8);
  border-radius: 10px;
}

.product-page {
  padding-top: 60px;
}

.btn__all {
  text-align: right;
  margin-bottom: 30px;
}

.trending__product {
  margin-bottom: 50px;
}

.popular__product {
  margin-bottom: 50px;
}

.recent__product {
  margin-bottom: 50px;
}

.product__item {
  margin-bottom: 30px;
}
.product__item .product__item__pic {
  background-size: 100%;
  transition: background-size 0.4s ease;
}
.product__item:hover .product__item__pic {
  background-size: 120%;
  cursor: pointer;
}

.col-lg-2.col-md-4.col-sm-3 .product__item__pic {
  height: 200px;
  position: relative;
  border-radius: 5px;
}

.product__item__pic {
  height: 230px;
  position: relative;
  border-radius: 5px;
  /* Chưa hoàn = đỏ */
  /* Đã hoàn = xanh lá */
}
.product__item__pic .ep {
  font-size: 11px;
  color: #ffffff;
  background: #b49ad9;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 4px;
  position: absolute;
  left: 10px;
  top: 10px;
  box-shadow: 0 0 10px #ffffff;
}
.product__item__pic .ep-chua {
  background: red;
}
.product__item__pic .ep-da {
  background: #3ede3e;
}
.product__item__pic .comment {
  font-size: 13px;
  color: #ffffff;
  background: #3d3d3d;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  position: absolute;
  left: 10px;
  bottom: 10px;
}
.product__item__pic .view {
  font-size: 13px;
  color: #ffffff;
  background: #3d3d3d;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.product__item__text {
  padding-top: 10px;
}
.product__item__text ul {
  margin-bottom: 10px;
}
.product__item__text ul li {
  list-style: none;
  font-size: 12px;
  color: #b49ad9;
  font-weight: 700;
  padding: 3px 0;
  margin: 0 3px;
  border-radius: 50px;
}
.product__item__text .product__chapter__info {
  display: flex;
  justify-content: space-between;
}
.product__item__text .product__chapter__info .product__date {
  background-color: transparent;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}
.today-new {
  animation: rttBlink 1.05s infinite;
  background-color: #ff1717 !important;
  color: #fff !important;
}
.product__item__text .product__chapter__info .product__chapter {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0 15px 0 10px;
  border-radius: 20px;
}
.product__item__text h5 a {
  color: #442175;
  font-weight: 700;
  font-size: smaller;
}

.product__sidebar .section-title h5 {
  color: #442175;
  font-weight: 600;
  font-family: "Oswald", sans-serif;
  line-height: 21px;
  text-transform: uppercase;
  padding-left: 20px;
  position: relative;
}
.product__sidebar .section-title h5:after {
  position: absolute;
  left: 0;
  top: -6px;
  height: 32px;
  width: 4px;
  background: #b49ad9;
  content: "";
}
.product__sidebar .fb-link {
  display: block;
  width: 100%;
  height: 150px;
  background-image: url("../img/ava/logo.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 5px;
}

.product__sidebar__notice {
  border-radius: 5px;
  margin-bottom: 20px;
  background-color: #b49ad9;
  border-radius: 20px;
  padding: 15px;
}

.product__sidebar__view {
  position: relative;
}
.product__sidebar__view .filter__controls {
  position: absolute;
  right: 0;
  top: -5px;
}
.product__sidebar__view .filter__controls li {
  list-style: none;
  font-size: 13px;
  color: #b49add;
  font-weight: bolder;
  display: inline-block;
  border-radius: 4px;
  margin-right: 7px;
  cursor: pointer;
}
.product__sidebar__view .filter__controls li.active {
  color: #3d2a5b;
}
.product__sidebar__view .filter__controls li:last-child {
  margin-right: 0;
}

.product__sidebar__view__item {
  height: 190px;
  position: relative;
  border-radius: 5px;
  margin-bottom: 20px;
  overflow: hidden;
}
.product__sidebar__view__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.product__sidebar__view__item .ep {
  font-size: 13px;
  color: #ffffff;
  background: #b49ad9;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 4px;
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
}
.product__sidebar__view__item .view {
  font-size: 13px;
  color: #ffffff;
  background: #3d3d3d;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
}
.product__sidebar__view__item h5 {
  position: absolute;
  left: 0;
  bottom: 15px;
  width: 100%;
  padding: 0 30px 0 20px;
  z-index: 3;
}
.product__sidebar__view__item h5 a {
  color: #ffffff;
  font-weight: 700;
  line-height: 26px;
}

.product__sidebar__comment {
  margin-bottom: 35px;
}

.product__sidebar__comment__item {
  margin-bottom: 20px;
  overflow: hidden;
}

.product__sidebar__comment__item__pic {
  float: left;
  margin-right: 15px;
}

.product__sidebar__comment__item__text {
  overflow: hidden;
}
.product__sidebar__comment__item__text ul {
  margin-bottom: 10px;
}
.product__sidebar__comment__item__text ul li {
  list-style: none;
  font-size: 10px;
  color: #ffffff;
  font-weight: 700;
  padding: 1px 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  display: inline-block;
}
.product__sidebar__comment__item__text h5 {
  margin-bottom: 10px;
}
.product__sidebar__comment__item__text h5 a {
  color: #ffffff;
  font-weight: 700;
  line-height: 26px;
}
.product__sidebar__comment__item__text span {
  display: block;
  font-size: 13px;
  color: #b7b7b7;
}

.product__page__title {
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.product__page__title .section-title {
  margin-bottom: 0;
}
.product__page__title .product__page__filter {
  text-align: right;
}
.product__page__title .product__page__filter p {
  color: #ffffff;
  display: inline-block;
  margin-bottom: 0;
  margin-right: 16px;
}
.product__page__title .product__page__filter .nice-select {
  float: none;
  display: inline-block;
  font-size: 15px;
  color: #3d3d3d;
  font-weight: 700;
  border-radius: 0;
  padding-left: 15px;
  padding-right: 40px;
  height: 32px;
  line-height: 32px;
}
.product__page__title .product__page__filter .nice-select:after {
  border-bottom: 2px solid #111;
  border-right: 2px solid #111;
  height: 8px;
  top: 47%;
  width: 8px;
  right: 15px;
}
.product__page__title .product__page__filter .nice-select .list {
  margin-top: 0;
  border-radius: 0;
}

.product__pagination {
  padding-top: 15px;
}
.product__pagination a {
  display: inline-block;
  font-size: 15px;
  color: #b7b7b7;
  font-weight: 600;
  height: 50px;
  width: 50px;
  border: 1px solid transparent;
  border-radius: 50%;
  line-height: 48px;
  text-align: center;
  -webkit-transition: all, 0.3s;
  -moz-transition: all, 0.3s;
  -ms-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  transition: all, 0.3s;
}
.product__pagination a:hover {
  color: #ffffff;
}
.product__pagination a.current-page {
  border: 1px solid #ffffff;
}
.product__pagination a i {
  color: #b7b7b7;
  font-size: 15px;
}

:root {
  --swiper-height: 480px;
  --slide-w: 240px;
  --slide-h: 340px;
}

@media (max-width: 900px) {
  :root {
    --slide-w: 200px;
    --slide-h: 300px;
    --swiper-height: 420px;
  }
}
@media (max-width: 480px) {
  :root {
    --slide-w: 160px;
    --slide-h: 240px;
    --swiper-height: 360px;
  }
}
.swiper-body {
  margin: 0;
  font-family: "Mulish", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-body .swiper-section {
  width: 100%;
  max-width: 1100px;
  height: var(--swiper-height);
  box-sizing: border-box;
}
.swiper-body .swiper-section .swiper {
  width: 100%;
  height: 100%;
}
.swiper-body .swiper-section .swiper .swiper-wrapper {
  align-items: center;
}
.swiper-body .swiper-section .swiper .swiper-wrapper .swiper-slide {
  width: var(--slide-w) !important;
  height: var(--slide-h);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ddd;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.swiper-body .swiper-section .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.swiper-body .swiper-section .swiper .swiper-wrapper .swiper-slide-active {
  transform: scale(1.15) !important;
}
.swiper-body .swiper-section .swiper .swiper-slide-next,
.swiper-body .swiper-section .swiper .swiper-slide-prev {
  opacity: 0.95;
  transform: scale(0.95);
}
.swiper-body .swiper-section .swiper .swiper-button-next,
.swiper-body .swiper-section .swiper .swiper-button-prev {
  color: #ffffff;
}
.swiper-body .swiper-section .swiper .swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.45);
  opacity: 1;
}
.swiper-body .swiper-section .swiper .swiper-pagination-bullet-active {
  background: #111;
}

body {
  margin: 0;
  font-family: "Mulish", sans-serif;
}
body header {
  padding: 10px 20px;
  background-color: #b49ad9;
  color: white;
}
body header .container {
  max-width: 1200px;
  margin: 10px 12%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
body header .container a.navigate-btn {
  color: #ffffff !important;
}
body header .container .head-el {
  display: flex;
  align-items: center;
}
body header .container .web-logo {
  width: 150px;
  height: 40px;
  background-image: url("../img/ico/RờTêTê.png");
  background-size: contain;
  background-repeat: no-repeat;
}
body header .container .header-bar {
  display: flex;
  gap: 40px;
  list-style-type: none;
  font-weight: 600;
}
body header .container .header-bar li {
  cursor: pointer;
}
body header .container .login-signup {
  margin-left: 10px;
  padding: 5px 10px;
  cursor: pointer;
}
body header .container .login-signup .login-signup-icon {
  width: 24px;
  height: 24px;
  background-image: url("../img/ico/user.png");
  background-size: cover;
  cursor: pointer;
}
body header .container .login-signup .search-icon {
  width: 24px;
  height: 24px;
  background-image: url("../img/ico/search.png");
  background-size: cover;
  margin-right: 30px;
  cursor: pointer;
}

.footer {
  text-align: center;
  line-height: 150px;
  color: white;
  font-size: larger;
  background-color: #b49ad9;
}

/*---------------------
  Anime Details
-----------------------*/
.anime__details__text {
  position: relative;
}
.anime__details__text p {
  color: #442175;
  font-size: 15px;
  line-height: 30px;
  background-color: white;
  padding: 20px;
  border-radius: 20px;
}

.row.product__container {
  background-color: white;
}

.anime__details__pic {
  height: 500px;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.anime__details__pic .like {
  font-size: 13px;
  color: #442175;
  background: #3d3d3d;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  position: absolute;
  left: 10px;
  bottom: 25px;
}
.anime__details__pic .view {
  font-size: 13px;
  color: #442175;
  background: #3d3d3d;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  position: absolute;
  right: 10px;
  bottom: 25px;
}

.anime__details__title {
  margin-bottom: 20px;
}
.anime__details__title h3 {
  color: #442175;
  font-weight: 700;
  margin-bottom: 13px;
}
.anime__details__title span {
  font-size: 15px;
  color: #442175;
  display: block;
  font-style: italic;
}

.anime__details__widget {
  margin-bottom: 15px;
}
.anime__details__widget ul {
  margin-bottom: 20px;
}
.anime__details__widget ul li {
  list-style: none;
  font-size: 15px;
  color: #442175;
  line-height: 30px;
  position: relative;
  padding-left: 18px;
  font-weight: bolder;
}
.anime__details__widget ul li:before {
  position: absolute;
  left: 0;
  top: 12px;
  height: 6px;
  width: 6px;
  background: #b49ad9;
  content: none;
}
.anime__details__widget ul li span {
  font-weight: normal;
  width: 115px;
  display: inline-block;
}

.anime__details__btn .raw-btn,
.anime__details__btn .follow-btn {
  font-size: 13px;
  color: #ffffff;
  background: #b49ad9;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 4px;
  margin-right: 11px;
}
.anime__details__btn .raw-btn {
  width: 100%;
  padding: 10px;
  margin: 0;
  text-align: center;
  letter-spacing: 0px;
  font-size: 15px;
  background: transparent;
  color: red;
  background-color: white;
  border-radius: 50px;
}
.anime__details__btn .watch-btn span {
  font-size: 13px;
  color: #ffffff;
  background: #b49ad9;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 4px 0 0 4px;
  margin-right: 1px;
}
.anime__details__btn .watch-btn i {
  font-size: 20px;
  display: inline-block;
  padding: 11px 5px 16px 8px;
  color: #ffffff;
  border-radius: 0 4px 4px 0;
}

.anime__details__tags {
  padding: 0 0 20px 20px;
}
.anime__details__tags a {
  font-weight: bold;
  margin-right: 10px;
  margin-bottom: 10px;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  color: #b49ad9;
  font-size: 13px;
  transition: all 0.3s;
  background: rgba(68, 33, 117, 0.4);
  color: #ffffff;
}

.chapter-list {
  padding: 15px;
}
.chapter-list ul {
  margin-bottom: 20px;
  color: #442175;
  display: flex;
  flex-wrap: wrap;
}
.chapter-list ul li {
  padding: 10px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  font-weight: 500;
}
.chapter-list ul li .chapter-status {
  font-style: italic;
  color: #a07fcd;
  font-weight: normal;
}
.chapter-list ul li .new {
  background-color: red;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}
.chapter-list ul li:hover {
  background: rgba(255, 255, 255, 0.8);
}

.anime__details__review {
  margin-bottom: 55px;
}

.anime__review__item {
  overflow: hidden;
  margin-bottom: 15px;
}

.anime__review__item__pic {
  float: left;
  margin-right: 20px;
  position: relative;
}
.anime__review__item__pic:before {
  position: absolute;
  right: -30px;
  top: 15px;
  border-top: 15px solid transparent;
  border-left: 15px solid #1d1e39;
  content: "";
  transform: rotate(45deg);
}
.anime__review__item__pic img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.anime__review__item__text {
  overflow: hidden;
  background: white;
  padding: 18px 30px 16px 20px;
  border-radius: 10px;
}
.anime__review__item__text h6 {
  color: #442175;
  font-weight: 700;
  margin-bottom: 10px;
}
.anime__review__item__text h6 span {
  color: #b49ad9;
  font-weight: 400;
}
.anime__review__item__text p {
  color: #442175;
  line-height: 23px;
  margin-bottom: 0;
}
.anime__review__item__text .review-pic {
  width: 30%;
}

.anime__details__form form textarea {
  width: 100%;
  font-size: 15px;
  color: #b7b7b7;
  padding-left: 20px;
  padding-top: 12px;
  height: 110px;
  border: none;
  border-radius: 5px;
  resize: none;
  margin-bottom: 24px;
}
.anime__details__form form button {
  font-size: 11px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #b49ad9;
  border: none;
  padding: 10px 15px;
  border-radius: 2px;
}
.anime__details__form .section-title h6 {
  color: #442175;
  padding: 10px;
  font-style: italic;
}

.pagination {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.pagination button {
  font-size: 23px;
  padding: 6px 14px;
  background: #b49ad9;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s;
  border: none;
}

.pagination button:hover {
  background: #f8f1ff;
  color: #442175;
}

.cross-line {
  border-bottom: 2px solid #ccc;
  width: 100%;
  padding-top: 50px;
  margin-bottom: 20px;
}

.schedule-note {
  padding: 15px;
  background-color: white;
  border-radius: 20px;
  margin: 0 50px;
  text-align: center;
}

.schedule__week__block {
  display: flex;
  width: 100%;
  gap: 30px;
  margin: 30px;
  overflow: hidden;
  align-content: center;
  flex-direction: column;
}
.schedule__week__block .schedule-block {
  width: 100%;
  max-width: 1200px;
  padding: 15px;
  display: flex;
  border: 3px dotted #b49cd7;
  border-radius: 30px;
}
.schedule__week__block .schedule-block .schedule-title {
  flex: 1;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  align-content: center;
  margin-right: 15px;
}
.schedule__week__block .schedule-block .schedule-title span {
  font-size: 12px;
  background-color: azure;
  padding: 3 20;
  border-radius: 15px;
}
.schedule__week__block .schedule-block .schedule-title img {
  height: 130px;
}
.schedule__week__block .schedule-block .swiper {
  flex: 8;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.schedule__week__block .schedule-block .swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}
.schedule__week__block .schedule-block .swiper .swiper-slide {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}
.schedule__week__block .schedule-block .swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.schedule__week__block .schedule-block .swiper .swiper-slide .schedule-item {
  width: 100%;
  position: relative;
}
.schedule__week__block
  .schedule-block
  .swiper
  .swiper-slide
  .schedule-item
  .item-name {
  z-index: 5;
  background-color: #b49cd7;
}

:root {
  --swiper-height: 480px;
  --slide-w: 240px;
  --slide-h: 340px;
}

@media (max-width: 900px) {
  :root {
    --slide-w: 200px;
    --slide-h: 300px;
    --swiper-height: 420px;
  }
}
@media (max-width: 480px) {
  :root {
    --slide-w: 160px;
    --slide-h: 240px;
    --swiper-height: 360px;
  }
}
.swiper-body {
  margin: 0;
  font-family: "Mulish", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-body .swiper-section {
  width: 100%;
  max-width: 1100px;
  height: var(--swiper-height);
  box-sizing: border-box;
}
.swiper-body .swiper-section .swiper {
  width: 100%;
  height: 100%;
}
.swiper-body .swiper-section .swiper .swiper-wrapper {
  align-items: center;
}
.swiper-body .swiper-section .swiper .swiper-wrapper .swiper-slide {
  width: var(--slide-w) !important;
  height: var(--slide-h);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ddd;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.swiper-body .swiper-section .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.swiper-body .swiper-section .swiper .swiper-wrapper .swiper-slide-active {
  transform: scale(1.15) !important;
}
.swiper-body .swiper-section .swiper .swiper-slide-next,
.swiper-body .swiper-section .swiper .swiper-slide-prev {
  opacity: 0.95;
  transform: scale(0.95);
}
.swiper-body .swiper-section .swiper .swiper-button-next,
.swiper-body .swiper-section .swiper .swiper-button-prev {
  color: #ffffff;
}
.swiper-body .swiper-section .swiper .swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.45);
  opacity: 1;
}
.swiper-body .swiper-section .swiper .swiper-pagination-bullet-active {
  background: #111;
}

.filter-row {
  justify-content: center;
  position: relative;
}
.filter-row .filter-container.product__container {
  font-size: 12px;
  width: 80%;
  color: #442175;
  padding: 30 100 10 50;
}
.filter-row .filter-icon {
  z-index: 5;
  position: absolute;
  height: 200px;
  display: inline-block;
  bottom: 0;
}
.filter-row .left {
  left: 5%;
}
.filter-row .right {
  right: 5%;
}

.filter-block {
  margin-bottom: 15px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 2px solid rgba(180, 154, 217, 0.5);
}
.filter-block .filter-title {
  text-align: left;
  align-content: center;
  font-weight: 700;
  margin-bottom: 5px;
  flex: 0.5;
}
.filter-block .swiper {
  flex: 9;
}
.filter-block .swiper .swiper-slide {
  display: block;
  text-align: center;
  background: #ffffff;
}
.filter-block .swiper .filter-item {
  display: inline-block;
  padding: 6px 14px;
  margin: 5 3;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.2s;
}
.filter-block .swiper .filter-item:hover {
  background: #b49ad9;
  color: white;
}

/* =========================================================
   Mobile responsive update + user account page
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body.mobile-menu-open {
  overflow: hidden;
}

.primary-btn,
.site-btn {
  padding: 10px 18px;
  border-radius: 999px;
}

body header.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 10px 16px;
  background: rgba(180, 154, 217, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(68, 33, 117, 0.18);
}

body header.site-header .header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 58px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body header.site-header .brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

body header.site-header .web-logo {
  width: 176px;
  height: 52px;
  background-image: url("../img/ico/LOGO RO.png");
  background-size: contain;
  background-position: center left;
  background-repeat: no-repeat;
  cursor: pointer;
}

body header.site-header .header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-weight: 800;
}

body header.site-header .header-bar a {
  color: #ffffff !important;
  border-radius: 999px;
  transition: 0.2s ease;
}

body header.site-header .header-bar a > div {
  padding: 9px 14px;
  cursor: pointer;
  white-space: nowrap;
}

body header.site-header .header-bar a:hover,
body header.site-header .header-bar a:focus {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
}

body header.site-header .login-signup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
  padding: 0;
}

body header.site-header .login-signup .search-icon,
body header.site-header .login-signup .login-signup-icon {
  width: 38px;
  height: 38px;
  margin-right: 0;
  border-radius: 50%;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.22);
  transition: 0.2s ease;
}

body header.site-header .login-signup .search-icon:hover,
body header.site-header .login-signup .login-signup-icon:hover {
  background-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 21px;
  height: 2px;
  background: #ffffff;
  border-radius: 99px;
  transition: 0.25s ease;
}

body.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-backdrop {
  display: none;
}

.product__container {
  width: 100%;
  max-width: 100%;
  box-shadow: 0 12px 34px rgba(68, 33, 117, 0.12);
}

.product__item__pic {
  background-size: cover !important;
  background-position: center top !important;
  overflow: hidden;
}

.product__item:hover .product__item__pic {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(68, 33, 117, 0.24);
}

.product__item__text h5 a {
  display: block;
  line-height: 1.35;
}

.notify-show {
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100vw - 32px));
  border-radius: 14px;
}

.footer {
  line-height: normal;
  padding: 32px 16px;
}

.footer .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer .footer-brand {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer .footer-text {
  opacity: 0.92;
}

/* Account page */
.user-page {
  padding-top: 46px;
}

.user-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.user-hero__left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.user-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.user-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 32px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(68, 33, 117, 0.18);
  background: #fff;
}

.avatar-upload-btn {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #b49ad9;
  color: white;
  border: 3px solid white;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(68, 33, 117, 0.2);
}

.user-kicker {
  margin-bottom: 4px;
  color: #7a5aa6;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 12px;
}

.user-hero h2 {
  color: #442175;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 6px;
}

.user-hero p {
  color: #5d4382;
}

.user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.user-badges span,
.preference-tags button {
  border: 0;
  border-radius: 999px;
  background: rgba(180, 154, 217, 0.2);
  color: #b8a1d8;
}

.user-hero__right {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 12px;
}

.user-stat-card {
  min-width: 100px;
  padding: 16px 12px;
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.user-stat-card strong {
  display: block;
  color: #442175;
  font-size: 28px;
  font-family: "Oswald", sans-serif;
}

.user-stat-card span {
  color: #775a9f;
  font-size: 13px;
  font-weight: 700;
}

.user-grid,
.user-library-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  margin-bottom: 28px;
}

.user-panel {
  padding: 34px;
}

.user-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  color: #5b437d;
  line-height: 1.6;
}

.small-note {
  font-size: 13px;
  margin-top: 14px;
}

.user-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row-custom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-custom label {
  color: #442175;
  font-weight: 900;
}

.form-row-custom input,
.form-row-custom textarea {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #442175;
  padding: 13px 15px;
  transition: 0.2s ease;
}

.form-row-custom textarea {
  resize: vertical;
}

.form-row-custom input:focus,
.form-row-custom textarea:focus {
  border-color: #b49ad9;
  box-shadow: 0 0 0 4px rgba(180, 154, 217, 0.18);
}

.preference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preference-tags button {
  cursor: pointer;
  transition: 0.2s ease;
}

.preference-tags button.active,
.preference-tags button:hover {
  background: #b49ad9;
  color: white;
}

.user-form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.ghost-btn {
  border: 2px solid #b49ad9;
  color: #442175;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
}

.profile-status {
  display: none;
  padding: 10px 14px;
  border-radius: 12px;
  color: #2f7a35;
  background: rgba(218, 255, 222, 0.95);
  font-weight: 800;
}

.profile-status.show {
  display: block;
}

.disabled-demo {
  opacity: 0.8;
  cursor: not-allowed;
}

.account-menu-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.account-menu-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  color: #442175;
  font-weight: 900;
  cursor: pointer;
}

.account-menu-card a:hover {
  background: #b49ad9;
  color: #ffffff;
}

.user-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-list-item {
  display: grid;
  grid-template-columns: 66px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  color: #442175;
  cursor: pointer;
}

.user-list-item:hover {
  color: #442175;
  transform: translateY(-2px);
}

.user-list-item img {
  width: 66px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
}

.user-list-item strong,
.favorite-mini-grid span {
  display: block;
  color: #442175;
  font-weight: 900;
  line-height: 1.35;
}

.user-list-item span {
  color: #7a5aa6;
  font-size: 13px;
}

.favorite-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.favorite-mini-grid a {
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  color: #442175;
}

.favorite-mini-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}

/* Tablet */
@media (max-width: 991px) {
  .product__container {
    padding: 28px;
  }

  .product-page,
  .user-page {
    padding-top: 30px;
  }

  .user-hero,
  .user-grid,
  .user-library-grid {
    grid-template-columns: 1fr;
  }

  .user-hero {
    display: grid;
  }

  .user-hero__right {
    grid-template-columns: repeat(3, 1fr);
  }

  .schedule__week__block {
    margin: 20px 0;
  }

  .schedule__week__block .schedule-block {
    flex-direction: column;
    gap: 16px;
  }

  .schedule__week__block .schedule-block .schedule-title {
    margin-right: 0;
  }

  .schedule__week__block .schedule-block .swiper .swiper-slide {
    height: 180px;
  }

  .filter-row .filter-container.product__container {
    width: 100%;
    padding: 26px;
  }

  .filter-row .filter-icon {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body::before {
    background-size: 82%;
    opacity: 0.22;
  }

  body header.site-header {
    padding: 8px 12px;
  }

  body header.site-header .header-container {
    min-height: 54px;
    gap: 10px;
  }

  body header.site-header .web-logo {
    width: 128px;
    height: 42px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    order: 3;
    flex-shrink: 0;
  }

  body header.site-header .login-signup {
    margin-left: auto;
    order: 2;
  }

  body header.site-header .login-signup .search-icon,
  body header.site-header .login-signup .login-signup-icon {
    width: 36px;
    height: 36px;
  }

  body header.site-header .header-bar {
    position: fixed;
    top: 0;
    right: min(-86vw, -320px);
    width: min(86vw, 320px);
    height: 100vh;
    z-index: 10001;
    margin: 0;
    padding: 88px 18px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: linear-gradient(180deg, #b49ad9 0%, #8867b7 100%);
    box-shadow: -18px 0 44px rgba(68, 33, 117, 0.32);
    transition: right 0.28s ease;
  }

  body.mobile-menu-open header.site-header .header-bar {
    right: 0;
  }

  body header.site-header .header-bar a {
    width: 100%;
    background: rgba(255, 255, 255, 0.14);
  }

  body header.site-header .header-bar a > div {
    padding: 14px 16px;
    font-size: 16px;
  }

  body.mobile-menu-open .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(34, 18, 56, 0.42);
    z-index: 10000;
  }

  body.mobile-menu-open .mobile-menu-toggle {
    position: relative;
    z-index: 10002;
  }

  .notify-show {
    left: 12px;
    right: 12px;
    bottom: 14px;
    width: auto;
    padding: 12px 14px;
  }

  .notify-show .notify-text {
    font-size: 13px;
    line-height: 1.4;
  }

  :root {
    --slide-w: 150px;
    --slide-h: 220px;
    --swiper-height: 300px;
  }

  .swiper-body {
    padding: 8px 0 20px;
  }

  .swiper-body .swiper-section .swiper .swiper-wrapper .swiper-slide-active {
    transform: scale(1.04) !important;
  }

  .spad {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .product__container {
    padding: 20px;
    border-radius: 18px;
  }

  .product {
    padding-bottom: 38px;
  }

  .btn__all {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 18px;
  }

  .section-title h4,
  .section-title h5 {
    font-size: 19px;
    line-height: 1.25;
  }

  .product__container .row > .col-lg-2.col-md-4.col-sm-3,
  .product__container .row > .col-lg-3.col-md-6.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 7px;
    padding-right: 7px;
  }

  .col-lg-2.col-md-4.col-sm-3 .product__item__pic,
  .product__item__pic {
    height: clamp(210px, 58vw, 280px);
  }

  .product__item {
    margin-bottom: 22px;
  }

  .product__item__pic .view,
  .product__item__pic .ep {
    font-size: 10px;
    padding: 3px 8px;
  }

  .product__item__text ul li {
    font-size: 11px;
  }

  .product__item__text .product__chapter__info {
    gap: 6px;
  }

  .product__item__text .product__chapter__info .product__chapter {
    padding: 0 8px;
  }

  .product__sidebar {
    margin-top: 26px;
  }

  .product__sidebar__view__item {
    height: 160px;
  }

  .filter-block {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-block .filter-title {
    flex: auto;
  }

  .filter-block .swiper .filter-item {
    padding: 8px 12px;
  }

  .anime__details__pic {
    height: 420px;
    margin-bottom: 20px;
  }

  .anime__details__title h3 {
    font-size: 27px;
  }

  .anime__details__widget ul li {
    padding-left: 0;
  }

  .anime__details__widget ul li span {
    width: 108px;
  }

  .anime__details__tags {
    padding-left: 0;
  }

  .anime__details__btn {
    display: flex;
    flex-wrap: wrap;
    gap: 10px !important;
    justify-content: center;
  }

  .anime__details__btn .follow-btn,
  .anime__details__btn .watch-btn span {
    margin-right: 0;
  }

  .chapter-list {
    padding: 0;
  }

  .chapter-list ul {
    display: block;
  }

  .chapter-list ul li {
    width: 100%;
  }

  .anime__review__item__pic {
    float: none;
    margin: 0 0 10px;
  }

  .anime__review__item__pic:before {
    content: none;
  }

  .anime__review__item__text {
    padding: 16px;
  }

  .anime__review__item__text .review-pic {
    width: 100%;
    margin-top: 12px;
    border-radius: 12px;
  }

  .pagination {
    gap: 8px;
    flex-wrap: wrap;
  }

  .pagination button {
    font-size: 14px;
    padding: 9px 12px;
  }

  .storyChap.container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .storyChap.container .storyChap.row {
    margin-top: 22px;
  }

  .storyChap.container .storyChap.product__container {
    padding: 20px;
  }

  .storyChap.container .storyChap.product__container .storyChap-navigate {
    flex-direction: column;
    gap: 14px;
  }

  .storyChap.container .storyChap.product__container select {
    width: 100%;
    padding: 10px 14px;
  }

  .storyChap.container .storyChap.row .Chap-img {
    padding: 2%;
  }

  .Chap-img img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .schedule-note {
    margin: 0;
    border-radius: 16px;
  }

  .schedule-note h4 {
    font-size: 20px;
  }

  .schedule__week__block .schedule-block {
    padding: 16px;
    border-radius: 20px;
  }

  .schedule__week__block .schedule-block .schedule-title img {
    height: 90px;
  }

  .schedule__week__block .schedule-block .swiper .swiper-slide {
    height: 150px;
  }

  .footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .signup {
    padding-top: 42px;
    padding-bottom: 70px;
  }

  .signup .row {
    gap: 18px;
  }

  .signup .login__form {
    padding: 0;
  }

  .signup .login__form .input__item {
    padding: 10px 12px;
  }

  .signup .login__social__links {
    padding-left: 0;
  }

  .signup .login__social__links ul {
    flex-direction: column;
    gap: 12px;
  }

  .signup .login__social__links ul li a {
    display: block;
  }

  .user-page {
    padding-top: 28px;
  }

  .user-hero__left {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-avatar {
    width: 104px;
    height: 104px;
    border-radius: 26px;
  }

  .user-hero__right {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .user-stat-card {
    min-width: 0;
    padding: 12px 8px;
  }

  .user-stat-card strong {
    font-size: 24px;
  }

  .user-stat-card span {
    font-size: 11px;
  }

  .user-panel {
    padding: 20px;
  }

  .user-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .user-form-actions .site-btn,
  .user-form-actions .ghost-btn {
    width: 100%;
  }

  .favorite-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  body header.site-header .web-logo {
    width: 108px;
  }

  body header.site-header .login-signup {
    gap: 7px;
  }

  body header.site-header .login-signup .search-icon,
  body header.site-header .login-signup .login-signup-icon {
    width: 34px;
    height: 34px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .product__container {
    padding: 16px;
  }

  .product__container .row > .col-lg-2.col-md-4.col-sm-3,
  .product__container .row > .col-lg-3.col-md-6.col-sm-6 {
    padding-left: 5px;
    padding-right: 5px;
  }

  .col-lg-2.col-md-4.col-sm-3 .product__item__pic,
  .product__item__pic {
    height: 205px;
  }

  .product__item__text .product__chapter__info {
    align-items: flex-start;
  }

  .anime__details__pic {
    height: 360px;
  }

  .favorite-mini-grid {
    grid-template-columns: 1fr;
  }

  .user-list-item {
    grid-template-columns: 56px 1fr 16px;
  }

  .user-list-item img {
    width: 56px;
    height: 76px;
  }
}

.filter-block .swiper .swiper-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-block .swiper .swiper-slide {
  width: auto !important;
}

/* =========================================================
   RTT UI polish + Account/Admin consistency update
   ========================================================= */
:root {
  --rtt-primary: #442175;
  --rtt-primary-2: #5d3f88;
  --rtt-accent: #b49ad9;
  --rtt-accent-2: #d9c7f3;
  --rtt-bg-card: rgba(235, 226, 247, 0.86);
  --rtt-white: #ffffff;
  --rtt-muted: #7a5aa6;
  --rtt-danger: #e94155;
  --rtt-success: #2eb872;
  --rtt-shadow: 0 12px 34px rgba(68, 33, 117, 0.12);
}

html,
body {
  font-family: "Mulish", sans-serif !important;
  color: var(--rtt-primary);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title h4,
.section-title h5,
body header.site-header .header-bar,
.primary-btn,
.site-btn,
.ghost-btn,
.user-stat-card strong,
.admin-stat-card strong,
.admin-mini-stat strong {
  font-family: "Oswald", sans-serif !important;
}

p,
span,
li,
input,
textarea,
select,
button,
table {
  font-family: "Mulish", sans-serif;
}

.primary-btn {
  padding: 7px 14px 9px 16px !important;
  line-height: 1.2;
}

.site-btn,
.ghost-btn,
.report-btn,
.table-actions button,
.admin-tab,
.admin-tag {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.site-btn:hover,
.ghost-btn:hover,
.report-btn:hover,
.table-actions button:hover,
.admin-tab:hover,
.admin-tag:hover {
  transform: translateY(-1px);
}

.form-row-custom select,
.form-row-custom input,
.form-row-custom textarea,
.admin-section-head input,
.admin-add-tag input,
#comicSearch {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rtt-primary);
  padding: 13px 15px;
}

.form-row-custom select:focus,
.form-row-custom input:focus,
.form-row-custom textarea:focus,
.admin-section-head input:focus,
.admin-add-tag input:focus,
#comicSearch:focus {
  border-color: var(--rtt-accent);
  box-shadow: 0 0 0 4px rgba(180, 154, 217, 0.18);
}

/* Header small consistency */
body header.site-header .header-bar a > div {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.2px;
}

/* Account page: make it match home theme better */
.user-page .product__container,
.admin-page .product__container {
  background: var(--rtt-bg-card);
  box-shadow: var(--rtt-shadow);
}

.user-hero h2,
.admin-hero h2 {
  font-family: "Oswald", sans-serif !important;
  color: var(--rtt-primary);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.2px;
}

.user-hero p,
.admin-hero p,
.user-note {
  color: var(--rtt-primary-2);
}

.user-panel .section-title,
.admin-panel .section-title {
  margin-bottom: 18px;
}

.user-grid,
.user-library-grid {
  align-items: start;
}

.user-panel,
.admin-panel,
.admin-side {
  border-radius: 18px;
}

.user-form .site-btn,
.admin-form .site-btn {
  border-radius: 999px;
  padding: 12px 22px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--rtt-accent);
  color: var(--rtt-primary);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 900;
  cursor: pointer;
}

.ghost-btn:hover {
  color: #fff;
  background: var(--rtt-accent);
}

.ghost-btn.danger,
.table-actions .danger {
  border-color: var(--rtt-danger);
  color: var(--rtt-danger);
}

.ghost-btn.danger:hover,
.table-actions .danger:hover {
  background: var(--rtt-danger);
  color: #fff;
}

/* Report button */
.report-btn {
  border: 0;
  color: #ffffff;
  background: #b49ad9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.report-btn:hover {
  background: var(--rtt-danger);
  color: #ffffff;
}

.anime__details__btn .report-btn {
  margin-right: 8px;
}

/* Search + report modal */
.rtt-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(34, 18, 56, 0.52);
  padding: 24px;
  overflow-y: auto;
}

.rtt-search-modal.show {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.rtt-search-card {
  position: relative;
  width: min(620px, 100%);
  margin-top: 70px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(235, 226, 247, 0.98);
  box-shadow: 0 24px 70px rgba(34, 18, 56, 0.28);
}

.rtt-search-card input[type="search"] {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--rtt-primary);
  margin-bottom: 18px;
}

.rtt-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--rtt-primary);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.rtt-search-results {
  display: grid;
  gap: 12px;
}

.rtt-search-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--rtt-primary);
}

.rtt-search-item:hover {
  color: var(--rtt-primary);
  background: #fff;
}

.rtt-search-item img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.rtt-search-item strong {
  display: block;
  color: var(--rtt-primary);
  font-weight: 900;
}

.rtt-search-item span {
  display: block;
  color: var(--rtt-muted);
  font-size: 13px;
}

.rtt-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 13000;
  background: var(--rtt-primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(34, 18, 56, 0.26);
  transition: 0.2s ease;
}

.rtt-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Admin page */
.admin-page {
  padding-top: 42px;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}

.admin-kicker {
  margin-bottom: 6px;
  color: var(--rtt-muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-size: 12px;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px !important;
  margin-bottom: 20px;
}

.admin-tab {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--rtt-primary);
  padding: 10px 15px;
  font-weight: 900;
  cursor: pointer;
}

.admin-tab.active,
.admin-tab:hover {
  background: var(--rtt-accent);
  color: #fff;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
  align-items: start;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-upload-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-cover-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.admin-cover-box img {
  width: 180px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(68, 33, 117, 0.18);
  background: #fff;
}

.admin-cover-box small {
  color: var(--rtt-muted);
  line-height: 1.45;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-form-grid.two {
  grid-template-columns: 1fr 160px;
}

.admin-tag-bank,
.table-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-tag,
.table-tags span {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--rtt-primary);
}

.admin-tag {
  cursor: pointer;
}

.admin-tag.active,
.admin-tag:hover {
  background: var(--rtt-accent);
  color: #fff;
}

.admin-add-tag {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.admin-chapter-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.44);
}

.chapter-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.chapter-empty {
  grid-column: 1 / -1;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--rtt-muted);
}

.chapter-preview-item {
  position: relative;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  color: var(--rtt-primary);
  font-size: 12px;
}

.chapter-preview-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.chapter-preview-item button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--rtt-danger);
  cursor: pointer;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-section-head .section-title {
  margin-bottom: 0;
}

.admin-section-head input {
  max-width: 360px;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  color: var(--rtt-primary);
}

.admin-table th {
  padding: 0 12px 8px;
  color: var(--rtt-muted);
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
  vertical-align: middle;
}

.admin-table td:first-child {
  border-radius: 16px 0 0 16px;
}

.admin-table td:last-child {
  border-radius: 0 16px 16px 0;
}

.admin-comic-cell {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 220px;
}

.admin-comic-cell img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.admin-comic-cell strong,
.admin-table strong {
  color: var(--rtt-primary);
  font-weight: 900;
}

.admin-comic-cell span,
.admin-table small {
  color: var(--rtt-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
  background: rgba(180, 154, 217, 0.22);
  color: var(--rtt-primary);
}

.status-pill.done {
  background: rgba(46, 184, 114, 0.16);
  color: #167c46;
}
.status-pill.ongoing {
  background: rgba(180, 154, 217, 0.28);
  color: var(--rtt-primary);
}
.status-pill.locked {
  background: rgba(233, 65, 85, 0.14);
  color: var(--rtt-danger);
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-actions button {
  border: 1px solid var(--rtt-accent);
  border-radius: 999px;
  background: #fff;
  color: var(--rtt-primary);
  padding: 7px 10px;
  font-weight: 800;
  cursor: pointer;
}

.table-actions button:hover {
  background: var(--rtt-accent);
  color: #fff;
}

.empty-table {
  text-align: center;
  color: var(--rtt-muted);
  border-radius: 16px !important;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.admin-stat-card,
.admin-mini-stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--rtt-primary);
}

.admin-stat-card strong,
.admin-mini-stat strong {
  display: block;
  font-size: 30px;
  color: var(--rtt-primary);
}

.admin-stat-card span,
.admin-mini-stat span {
  color: var(--rtt-muted);
  font-weight: 800;
}

.admin-side {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-side-note {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--rtt-primary-2);
  line-height: 1.55;
}

.admin-side-note code {
  color: var(--rtt-primary);
  background: rgba(180, 154, 217, 0.2);
  padding: 2px 5px;
  border-radius: 6px;
}

@media (max-width: 991px) {
  .admin-hero,
  .admin-layout,
  .admin-upload-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-hero-actions {
    justify-content: flex-start;
  }

  .admin-side {
    position: static;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .admin-page,
  .user-page {
    padding-top: 28px;
  }

  .admin-hero,
  .admin-panel,
  .admin-side {
    padding: 20px !important;
  }

  .admin-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 12px !important;
  }

  .admin-tab {
    flex: 0 0 auto;
  }

  .admin-form-grid,
  .admin-form-grid.two,
  .admin-section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-section-head input {
    max-width: none;
  }

  .admin-cover-box img {
    width: 160px;
    height: 220px;
  }

  .admin-add-tag,
  .admin-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-table th,
  .admin-table td {
    white-space: nowrap;
  }

  .rtt-search-modal {
    padding: 12px;
  }

  .rtt-search-card {
    margin-top: 64px;
    padding: 22px;
    border-radius: 20px;
  }

  .report-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== RTT API data integration ===== */
.rtt-api-card .product__item__pic,
.product__item__pic[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.rtt-card-tags {
  color: #b7b7b7;
  font-size: 12px;
  line-height: 1.45;
  list-style: none;
  margin-top: 8px;
}
.rtt-card-skeleton {
  height: 320px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  background-size: 200% 100%;
  animation: rttSkeleton 1.2s infinite linear;
  margin-bottom: 30px;
}
@keyframes rttSkeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.rtt-api-empty,
.rtt-api-error,
.rtt-loading-line {
  color: #d7d7d7;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  width: 100%;
}
.rtt-api-error {
  color: #ff9d9d;
  border-color: rgba(255, 82, 82, 0.28);
}
.rtt-topview-card {
  display: block;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}
.rtt-topview-card h5 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.filter-item.active,
.filter-item:hover {
  background: #e53637 !important;
  color: #fff !important;
  border-color: #e53637 !important;
}
.filter-item span {
  opacity: 0.75;
  font-size: 11px;
  margin-left: 4px;
}
.rtt-category-search {
  margin-top: 12px;
  width: min(420px, 100%);
}
.rtt-category-search input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 14px;
  outline: none;
  font-family: "Mulish", sans-serif;
}
.rtt-category-search input:focus {
  border-color: #e53637;
}
.anime__details__tags a {
  cursor: pointer;
}
.chapter-list li {
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}
.chapter-list li:hover {
  transform: translateX(4px);
  border-color: rgba(229, 54, 55, 0.45);
}
.storyChap-select-chapter select {
  min-width: 220px;
  color: #111;
  border-radius: 8px;
  padding: 8px 10px;
}
.storyChap .pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.rtt-chapter-empty {
  color: #ddd;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
}
.rtt-chapter-empty img {
  max-width: 320px;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}
.Chap-img img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}
@media (max-width: 575px) {
  .rtt-card-skeleton {
    height: 245px;
  }
  .product__item__text h5 {
    font-size: 14px;
  }
  .rtt-card-tags {
    font-size: 11px;
  }
}
