html,
body {
  height: 100%;
  font-family: "Mulish", "IBM Plex Sans Thai", "Oswald", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #0b0c2a;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: #111111;
  font-weight: 400;
  font-family: "Mulish", "IBM Plex Sans Thai", "Oswald", 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", "IBM Plex Sans Thai", "Oswald", 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;
}

/*---------------------
  Sweet Alert
-----------------------*/
.swal-title-font {
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-weight: 600;
}
.swal-body-font {
  font-family: 'IBM Plex Sans Thai', sans-serif;
}
.swal-button-font {
  font-family: 'IBM Plex Sans Thai', sans-serif;
}
/*---------------------
  Helper CSS
-----------------------*/

.section-title {
  margin-bottom: 30px;
}

.section-title h4,
.section-title h5 {
  color: #ffffff;
  font-weight: 600;
  line-height: 21px;
  text-transform: uppercase;
  padding-left: 20px;
  position: relative;
  font-family: "Oswald", "IBM Plex Sans Thai", sans-serif;
}

.section-title h4:after,
.section-title h5:after {
  position: absolute;
  left: 0;
  top: -6px;
  height: 32px;
  width: 4px;
  background: #e53637;
  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: #fff;
}

/* buttons */

.primary-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 2px;
}

.primary-btn span {
  font-size: 18px;
  margin-left: 5px;
  position: relative;
  top: 3px;
}

.site-btn {
  font-size: 13px;
  color: #ffffff;
  background: #e53637;
  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;
  }
}

/*---------------------
  Header
-----------------------*/

.header {
  background: #070720;
}

.header__logo {
  padding: 20px 0 17px;
}

.header__logo a {
  display: inline-block;
}

.header__menu {
  text-align: center;
}

.header__menu ul li {
  list-style: none;
  display: inline-block;
  position: relative;
  margin-right: 16px;
}

.header__menu ul li.active a {
  background: #e53637;
  color: #ffffff;
}

.header__menu ul li:hover a {
  color: #ffffff;
}

.header__menu ul li:hover .dropdown {
  top: 62px;
  opacity: 1;
  visibility: visible;
}

.header__menu ul li:hover .dropdown li a {
  background: transparent;
}

.header__menu ul li:last-child {
  margin-right: 0;
}

.header__menu ul li .dropdown {
  position: absolute;
  left: 0;
  top: 82px;
  width: 150px;
  background: #ffffff;
  text-align: left;
  padding: 5px 0;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  transition: all, 0.3s;
}

.header__menu ul li .dropdown li {
  display: block;
  margin-right: 0;
}

.header__menu ul li .dropdown li a {
  font-size: 14px;
  color: #111111;
  font-weight: 500;
  padding: 5px 20px;
}

.header__menu ul li a {
  font-size: 15px;
  color: #b7b7b7;
  display: block;
  font-weight: 700;
  -webkit-transition: all, 0.5s;
  -o-transition: all, 0.5s;
  transition: all, 0.5s;
  padding: 20px;
}

.header__menu ul li a span {
  position: relative;
  font-size: 17px;
  top: 2px;
}

.header__right {
  text-align: right;
  padding: 20px 0 15px;
}

.header__right a {
  display: inline-block;
  font-size: 18px;
  color: #ffffff;
  margin-right: 30px;
}

.header__right a:last-child {
  margin-right: 0;
}

.slicknav_menu {
  display: none;
}

/*---------------------
  Hero
-----------------------*/

.hero {
  padding-top: 50px;
}

.hero__items {
  padding: 250px 0 42px 50px;
  border-radius: 5px;
}

.hero__text {
  position: relative;
  z-index: 9;
}

.hero__text .label {
  font-size: 13px;
  color: #e53637;
  background: #ffffff;
  padding: 5px 14px 3px;
  display: inline-block;
  position: relative;
  top: -100px;
  opacity: 0;
  -webkit-transition: all, 0.2s;
  -o-transition: all, 0.2s;
  transition: all, 0.2s;
}

.hero__text h2 {
  color: #ffffff;
  font-size: 42px;
  font-family: "Oswald", "IBM Plex Sans Thai", sans-serif;
  font-weight: 700;
  line-height: 52px;
  margin-top: 35px;
  margin-bottom: 8px;
  position: relative;
  top: -100px;
  opacity: 0;
  -webkit-transition: all, 0.4s;
  -o-transition: all, 0.4s;
  transition: all, 0.4s;
}

.hero__text p {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 40px;
  position: relative;
  top: -100px;
  opacity: 0;
  -webkit-transition: all, 0.6s;
  -o-transition: all, 0.6s;
  transition: all, 0.6s;
}

.hero__text a {
  position: relative;
  top: -100px;
  opacity: 0;
  -webkit-transition: all, 0.8s;
  -o-transition: all, 0.8s;
  transition: all, 0.8s;
}

.hero__text a span {
  font-size: 13px;
  color: #ffffff;
  background: #e53637;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 4px 0 0 4px;
  margin-right: 1px;
}

.hero__text a i {
  font-size: 20px;
  display: inline-block;
  background: #e53637;
  padding: 11px 5px 16px 8px;
  color: #ffffff;
  border-radius: 0 4px 4px 0;
}

.hero__slider.owl-carousel .owl-item.active .hero__text .label {
  top: 0;
  opacity: 1;
}

.hero__slider.owl-carousel .owl-item.active .hero__text h2 {
  top: 0;
  opacity: 1;
}

.hero__slider.owl-carousel .owl-item.active .hero__text p {
  top: 0;
  opacity: 1;
}

.hero__slider.owl-carousel .owl-item.active .hero__text a {
  top: 0;
  opacity: 1;
}

.hero__slider.owl-carousel .owl-dots {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.hero__slider.owl-carousel .owl-dots button {
  height: 8px;
  width: 8px;
  background: #b7b7b7;
  border-radius: 50%;
  margin-right: 10px;
}

.hero__slider.owl-carousel .owl-dots button.active {
  background: #ffffff;
}

.hero__slider.owl-carousel .owl-dots button:last-child {
  margin-right: 0;
}

.hero__slider.owl-carousel .owl-nav button {
  font-size: 36px;
  height: 66px;
  width: 66px;
  background: #0b0c2a;
  line-height: 66px;
  text-align: center;
  color: #ffffff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: relative;
  z-index: 1;
  position: absolute;
  left: -33px;
  top: 50%;
  margin-top: -47px;
}

.hero__slider.owl-carousel .owl-nav button.owl-next {
  left: auto;
  right: -33px;
}

.hero__slider.owl-carousel .owl-nav button:after {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 54px;
  width: 54px;
  background: rgba(255, 255, 255, 0.1);
  content: "";
  z-index: -1;
  margin: 0 auto;
}

.hero__slider.owl-carousel .owl-nav button span {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  display: block;
  z-index: 1;
}

/*---------------------
  About Me
-----------------------*/
.about-me {
  background: url("https://images8.alphacoders.com/857/thumb-1920-857908.jpg")
    no-repeat center center;
  background-size: cover;
  padding: 120px 0;
}
.about-me h1 {
  font-size: 48px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}
.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #b7b7b7;
}
.about-features h5 {
  margin-top: 10px;
  font-weight: bold;
}
/*---------------------
  Product
-----------------------*/

.product {
  padding-bottom: 60px;
  padding-top: 80px;
}

.product-page {
  padding-top: 60px;
}

.btn__all {
  text-align: right;
  margin-bottom: 30px;
}

.product__item {
  margin-bottom: 50px;
}

.product__item__pic {
  height: 175px;
  position: relative;
  border-radius: 5px;
  background-size: cover;
  background-position: center;
}

.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: 20px;
}

.product__item__text ul {
  margin-bottom: 10px;
}

.product__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__item__text h5 a {
  color: #ffffff;
  font-weight: 700;
  line-height: 26px;
}

.product__sidebar .section-title h5 {
  color: #ffffff;
  font-weight: 600;
  font-family: "Mulish", "IBM Plex Sans Thai", "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: #e53637;
  content: "";
}

.product__sidebar__view {
  position: relative;
  margin-bottom: 80px;
}

.product__sidebar__view .filter__controls {
  position: absolute;
  right: 0;
  top: -5px;
}

.product__sidebar__view .filter__controls li {
  list-style: none;
  font-size: 13px;
  color: #b7b7b7;
  display: inline-block;
  margin-right: 7px;
  cursor: pointer;
}

.product__sidebar__view .filter__controls li.active {
  color: #ffffff;
}

.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;
}

.product__sidebar__view__item .ep {
  font-size: 13px;
  color: #ffffff;
  background: #e53637;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 4px;
  position: absolute;
  left: 10px;
  top: 10px;
}

.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;
}

.product__sidebar__view__item h5 {
  position: absolute;
  left: 0;
  bottom: 25px;
  width: 100%;
  padding: 0 30px 0 20px;
}

.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;
  -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;
}
.image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
}

.image-wrapper img {
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: center center;
}

.image-wrapper:hover img {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1.05);
}

.details-box {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.6rem;
  color: #e53935;
  font-weight: bold;
}

.description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.meta {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  color: #555;
}

.meta li {
  margin-bottom: 0.5rem;
}

.quantity-box {
  margin-top: 1.5rem;
}

.action-buttons .btn {
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  margin-right: 1rem;
}

.product-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.text-truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.input-group .form-control,
.form-select {
  border-radius: 0.375rem;
}

/* Responsive spacing */
@media (max-width: 576px) {
  .product-section .d-flex > * {
    flex: 1 1 100%;
  }
}

/*---------------------
  Card Details
-----------------------*/
.main-card {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1rem;
}
.card-img-top {
  height: 300px;
  object-fit: cover;
  padding: 10px;
}
.card-body h5 {
  font-size: 1rem;
  font-weight: 600;
}
.card-text {
  margin-bottom: 0.25rem;
}

.cart-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 20px 25px;
  font-family: "Mulish", "IBM Plex Sans Thai", "Oswald", sans-serif;
}

.cart-header {
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 15px;
  border-bottom: 2px solid #f5f5f5;
  margin-bottom: 20px;
}

.cart-empty {
  text-align: center;
  font-size: 18px;
  color: #888;
  padding: 40px 0;
}

.btn-continue {
  background: #ffcc00;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-item img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #eee;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-size: 16px;
  font-weight: 600;
}

.cart-item-category {
  font-size: 14px;
  color: #888;
}

.cart-item-price {
  font-size: 15px;
  color: #ff4d4f;
  font-weight: 500;
}

.cart-item-qty {
  font-size: 14px;
}

.cart-item-right {
  text-align: right;
}

.cart-item-subtotal {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.btn-remove {
  background: none;
  border: 1px solid #ff4d4f;
  color: #ff4d4f;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
}

.btn-remove:hover {
  background: #ff4d4f;
  color: #fff;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 18px;
  font-weight: 600;
  border-top: 2px solid #f5f5f5;
  margin-top: 15px;
}

.summary-total {
  color: #ff4d4f;
  font-size: 20px;
}

.cart-checkout {
  text-align: right;
  margin-top: 15px;
}

.btn-checkout {
  background: #0b0c2a;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}

.btn-checkout:hover {
  background: #ff575a;
}

/*---------------------
  fiter
-----------------------*/
.filter-bar {
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 50%;
}

/* Search Input */
.filter-bar input#searchInput {
  flex: 1;
  min-width: 20%;
  border: 2px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  transition: border-color 0.2s;
}

.filter-bar input#searchInput:focus {
  border-color: #E91E63;   /* ปรับเป็นสีหลักของคุณ */
  outline: none;
}

/* Sort Select */
.filter-bar select#sortSelect {
  border: 2px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.45rem 1rem;
  background: #fff;
  transition: border-color 0.2s;
  min-width: 20%;
}

.filter-bar select#sortSelect:focus {
  border-color: #E91E63;
  outline: none;
}
#searchInput {
  min-width: 200px;
}

#sortSelect {
  min-width: 140px;
}
/*---------------------
  register
-----------------------*/
.site-btn.register-btn {
  background: #28a745;
  border: none;
}
.site-btn.register-btn:hover {
  background: #218838;
}
/*---------------------
  Login
-----------------------*/

.login {
  padding-top: 130px;
  padding-bottom: 120px;
  background: url("https://images.alphacoders.com/128/1287239.jpg") no-repeat
    center center fixed;
  background-size: cover;
  position: relative;
}

/* Layer ทับ background ให้ตัดแสง */
.login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6),
    rgba(50, 50, 50, 0.4)
  );
  backdrop-filter: blur(4px);
}

/* ฟอร์ม login */
.login__form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-in-out;
  backdrop-filter: blur(12px);
}

/* Title */
.login__form h3 {
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  font-family: "Mulish", "IBM Plex Sans Thai", "Oswald", sans-serif;
  margin-bottom: 30px;
  font-size: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Input */
.login__form form .input__item {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
}

.login__form form .input__item input {
  height: 50px;
  width: 100%;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding-left: 50px;
  transition: all 0.3s ease;
}

.login__form form .input__item input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* focus effect */
.login__form form .input__item input:focus {
  outline: none;
  border: 1px solid #00c6ff;
  box-shadow: 0 0 12px rgba(0, 198, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

/* icon */
.login__form form .input__item span {
  color: #fff;
  font-size: 18px;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* ปุ่ม */
.login__form form button,
.login__form .register-btn {
  border-radius: 25px;
  margin-top: 10px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
}

/* ปุ่มหลัก */
.login__form form button {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border: none;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
}

.login__form form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 198, 255, 0.6);
}

/* ปุ่มสมัคร */
.login__form .register-btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.login__form .register-btn:hover {
  background: #fff;
  color: #000;
}

/* animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*---------------------
  From
-----------------------*/
/* 1. Layout หลักของหน้า Checkout */
.container.checkout {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.row.gx-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* กำหนดสัดส่วน sidebar กับ content */
aside.col-md-4 {
  flex: 0 0 32%;
}

section.col-md-8 {
  flex: 0 0 68%;
}

/* 2. Styling Sidebar รายการที่อยู่ */
#addressList {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.address-card {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  transition: background 0.3s;
  cursor: pointer;
}
.address-card:last-child {
  border-bottom: none;
}

.address-card input[type="radio"] {
  margin-right: 0.75rem;
  accent-color: #e53637;
}

.address-card strong {
  font-family: "Mulish", "IBM Plex Sans Thai", "Oswald", sans-serif;
  font-size: 1rem;
  color: #111;
}

.address-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0.25rem 0 0;
}

.address-card:hover {
  background: #f8f9fa;
}

/* ปุ่ม + เพิ่มที่อยู่ใหม่ */
#btnAddAddress {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  font-family: "Mulish", "IBM Plex Sans Thai", "Oswald", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #e53637;
  background: transparent;
  border: 2px dashed #e53637;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}
#btnAddAddress:hover {
  background: #e53637;
  color: #fff;
}

/* 3. ฟอร์มเพิ่มที่อยู่ (ซ่อนก่อน) */
#addressFormCard {
  display: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#addressFormCard h5 {
  font-family: "Mulish", "IBM Plex Sans Thai", "Oswald", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #111;
}

#addressForm .form-control,
#addressForm .form-select {
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 0.65rem;
  transition: border 0.3s;
}
#addressForm .form-control:focus,
#addressForm .form-select:focus {
  border-color: #e53637;
  box-shadow: 0 0 0 3px rgba(229, 54, 55, 0.2);
}

/* ปุ่มในฟอร์ม */
#addressForm button.btn-primary {
  background: #e53637;
  border: none;
  padding: 0.65rem 1.2rem;
}
#btnCancel {
  margin-left: 1rem;
  color: #6c757d;
}
#btnCancel:hover {
  color: #e53637;
}

/* 4. สรุปรายการสั่งซื้อ (Checkout Summary) */
#checkoutForm {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#checkoutForm .table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  margin-bottom: 1rem;
}

#checkoutForm thead th {
  font-family: "Mulish", "IBM Plex Sans Thai", "Oswald", sans-serif;
  font-size: 0.9rem;
  color: #6c757d;
  text-transform: uppercase;
  border-bottom: none;
}

#checkoutForm tbody tr {
  background: #f8f9fa;
}

#checkoutForm td,
#checkoutForm th {
  padding: 0.75rem;
  vertical-align: middle;
}

.checkout-summary p {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.checkout-summary p strong {
  font-size: 1.1rem;
  color: #111;
}

/* ปุ่ม ดำเนินการชำระเงิน */
#checkoutForm button[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.85rem;
  font-family: "Mulish", "IBM Plex Sans Thai", "Oswald", sans-serif;
  font-size: 1rem;
  background: #e53637;
  color: #fff;
  border: none;
  border-radius: 8px;
  transition: background 0.3s;
}
#checkoutForm button[type="submit"]:hover {
  background: #c32b2e;
}
/*---------------------
  Payment
-----------------------*/
.payment-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.6s ease;
}
.payment-card h2 {
  font-weight: 700;
  color: #000000;
}
.amount {
  font-size: 2rem;
  font-weight: bold;
  color: #198754;
}
.qr-box img {
  width: 220px;
  height: 320px;
  border-radius: 16px;
  border: 6px solid #f1f1f1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.qr-box img:hover {
  transform: scale(1.05);
}
.address-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px 20px;
  margin-top: 20px;
}
.btn-confirm {
  background: #20a969;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  padding: 12px;
  transition: all 0.3s ease;
}
.btn-confirm:hover {
  background: #26cb7e;
  transform: translateY(-2px);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*---------------------
  Profile
-----------------------*/
.profile-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem auto;
  max-width: 1200px;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.sidebar {
  flex: 0 0 280px;
  background: #f9f9f9;
  border-right: 1px solid #eaeaea;
  padding: 2rem 1.5rem;
}
.sidebar-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
}
.sidebar-username {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #555;
}
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-nav .nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #444;
  font-weight: 500;
  border-radius: 0.25rem;
  transition: background 0.2s;
}
.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  background: #e9ecef;
  color: #222;
}

.main-content {
  flex: 1;
  padding: 2rem;
}
.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}
.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-list li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #555;
}
.profile-list li strong {
  color: #333;
}

.table-responsive {
  overflow-x: auto;
}
.table th,
.table td {
  vertical-align: middle;
}

@media (max-width: 992px) {
  .profile-wrapper {
    flex-direction: column;
  }
  .sidebar {
    flex: 0 0 auto;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eaeaea;
  }
  .main-content {
    padding: 1.5rem;
  }
}
/*---------------------
  Footer
-----------------------*/

.footer {
  background: #070720;
  padding-top: 60px;
  padding-bottom: 40px;
  margin-top: 60px;
  position: relative;
}

.page-up {
  position: absolute;
  left: 50%;
  top: -25px;
  margin-left: -25px;
}

.page-up a {
  display: inline-block;
  font-size: 36px;
  color: #ffffff;
  height: 50px;
  width: 50px;
  background: #e53637;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
}

.page-up a span {
  position: relative;
  top: 2px;
  left: -1px;
}

.footer__nav {
  text-align: center;
}

.footer__nav ul li {
  list-style: none;
  display: inline-block;
  position: relative;
  margin-right: 40px;
}

.footer__nav ul li:last-child {
  margin-right: 0;
}

.footer__nav ul li a {
  font-size: 15px;
  color: #b7b7b7;
  display: block;
  font-weight: 700;
}

.footer__copyright__text {
  color: #b7b7b7;
  margin-bottom: 0;
  text-align: right;
}

.footer__copyright__text a {
  color: #e53637;
}

/*--------------------------------- Responsive Media Quaries -----------------------------*/

@media only screen and (min-width: 1200px) and (max-width: 1300px) {
  .hero {
    overflow: hidden;
  }
}

@media only screen and (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* Medium Device = 1200px */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero {
    overflow: hidden;
  }
  .login__form {
    position: relative;
    padding-left: 32px;
  }
  .login__social__links ul li a {
    width: 380px;
  }
  .blog__item__text {
    padding: 0 50px;
  }
}

/* Tablet Device = 768px */

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero {
    overflow: hidden;
  }
  .header {
    position: relative;
  }
  .header .container {
    position: relative;
  }
  .header__logo {
    padding: 10px 0;
    text-align: left;
  }
  .header__menu {
    display: none; 
  }
  .header__right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 0;
    position: relative;
    top: 0;
    right: 0;
    gap: 15px;
  }
  .slicknav_menu {
    background: transparent;
    padding: 0;
    display: block;
  }
  .slicknav_nav {
    position: absolute;
    left: 0;
    top: 60px;
    width: 100%;
    background: #ffffff;
    padding: 15px 30px;
    z-index: 9;
  }
  .slicknav_nav ul {
    margin: 0;
  }
  .slicknav_nav .slicknav_row,
  .slicknav_nav a {
    padding: 7px 0;
    margin: 0;
    color: #111111;
    font-weight: 600;
  }
  .slicknav_btn {
    border-radius: 0;
    background-color: #222;
    position: absolute;
    right: 0;
    top: 9px;
  }
  .slicknav_nav .slicknav_arrow {
    color: #111111;
  }
  .slicknav_nav .slicknav_row:hover {
    border-radius: 0;
    background: transparent;
    color: #111111;
  }
  .slicknav_nav a:hover {
    border-radius: 0;
    background: transparent;
    color: #111111;
  }
  .product__sidebar {
    padding-top: 50px;
  }
  .footer__logo {
    text-align: center;
    margin-bottom: 20px;
  }
  .footer__nav {
    margin-bottom: 15px;
  }
  .footer__copyright__text {
    text-align: center;
  }
  .anime__details__widget ul li span {
    width: 90px;
  }
  .anime__details__pic {
    margin-bottom: 40px;
  }
  .anime__details__sidebar {
    padding-top: 50px;
  }
  .login__form {
    padding-left: 0;
    margin-bottom: 40px;
  }
  .login__form:after {
    display: none;
  }
  .login__form form .input__item {
    width: auto;
  }
  .signup .login__social__links {
    padding-left: 0;
  }
}

/* Wide Mobile = 480px */

@media only screen and (max-width: 767px) {
  .hero {
    overflow: hidden;
  }
  .header {
    position: relative;
  }
  .header .container {
    position: relative;
  }
  .header__logo {
    text-align: left;
    padding: 10px 0;
  }
  .header__menu {
    display: none;
  }
  .header__right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 0;
    gap: 15px;
    
  }

  .slicknav_menu {
    background: transparent;
    padding: 0;
    display: block;
  }
  .slicknav_nav {
    position: absolute;
    left: 0;
    top: 60px;
    width: 100%;
    background: #ffffff;
    padding: 15px 30px;
    z-index: 9;
  }
  .slicknav_nav ul {
    margin: 0;
  }
  .slicknav_nav .slicknav_row,
  .slicknav_nav a {
    padding: 7px 0;
    margin: 0;
    color: #111111;
    font-weight: 600;
  }
  .slicknav_btn {
    border-radius: 0;
    background-color: #222;
    position: absolute;
    right: 0;
    top: 9px;
  }
  .slicknav_nav .slicknav_arrow {
    color: #111111;
  }
  .slicknav_nav .slicknav_row:hover {
    border-radius: 0;
    background: transparent;
    color: #111111;
  }
  .slicknav_nav a:hover {
    border-radius: 0;
    background: transparent;
    color: #111111;
  }
  .product__sidebar {
    padding-top: 50px;
  }
  .footer__logo {
    text-align: center;
    margin-bottom: 20px;
  }
  .footer__nav {
    margin-bottom: 15px;
  }
  .footer__copyright__text {
    text-align: center;
  }
  .blog__details__title h2 {
    font-size: 34px;
    line-height: normal;
  }
  .anime__details__pic {
    margin-bottom: 40px;
  }
  .anime__details__sidebar {
    padding-top: 50px;
  }
  .btn__all {
    text-align: left;
  }
  .product__page__title .section-title {
    margin-bottom: 30px;
  }
  .product__page__title .product__page__filter {
    text-align: left;
  }
  .anime__details__rating {
    text-align: left;
    position: relative;
    margin-bottom: 20px;
  }
  .blog__details__social {
    overflow: hidden;
  }
  .blog__details__title .blog__details__social a {
    margin-right: 10px;
    margin-bottom: 10px;
    width: calc(50% - 10px);
    float: left;
  }
  .login__form {
    padding-left: 0;
    margin-bottom: 40px;
  }
  .login__form:after {
    display: none;
  }
  .login__form form .input__item {
    width: auto;
  }
  .signup .login__social__links {
    padding-left: 0;
  }
  .login__social__links ul li a {
    width: auto;
  }
  .blog__item__text {
    padding: 0 30px;
  }
  .product__sidebar__view .filter__controls li {
    margin-right: 2px;
  }
  .search-model-form input {
    width: 100%;
  }
}

/* Small Device = 320px */

@media only screen and (max-width: 479px) {
  .hero__slider.owl-carousel .owl-nav {
    display: none;
  }
  .hero__items {
    padding: 250px 0 42px 15px;
  }
  .hero__text h2 {
    font-size: 32px;
  }
  .footer__nav ul li {
    margin-right: 10px;
  }
  .anime__details__btn .follow-btn {
    padding: 14px 26px;
    margin-right: 11px;
    margin-bottom: 25px;
  }
  .anime__details__widget ul li span {
    width: 85px;
  }
  .anime__video__player .plyr__volume {
    left: 65px;
  }
  .anime__video__player .plyr__controls .plyr__controls__item.plyr__time {
    left: 95px;
  }
  .anime__video__player .plyr__menu {
    margin-right: 60px;
  }
  .blog__details__title h2 {
    font-size: 30px;
    line-height: normal;
  }
  .blog__details__title .blog__details__social a {
    padding: 16px 25px 14px 20px;
  }
  .blog__details__comment__item.blog__details__comment__item--reply {
    padding-left: 0;
  }
  .blog__details__comment__item__pic {
    margin-right: 25px;
  }
  .blog__details__comment__item__text a {
    margin-right: 6px;
  }
  .login__social__links ul li a i {
    left: 20px;
  }
  .login__form .forget_pass {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 25px;
  }
  .header__right a {
    margin-right: 10px;
  }
  .anime__review__item__text h6 span {
    font-size: 12px;
  }
  .anime__review__item__text {
    padding: 18px 20px 20px;
  }
}
