:root {
  --swiper-navigation-size: 14px;
  --swiper-theme-color: #5E5471;
  --title-theme-color: #5E5471;
  --ultramarine: #8D7FAA;
  --viridity: #D4BFFF;
  --light: #eeeeee;
}

html,
body {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 1.5px;
  font-weight: 400;
  background-color: #f5f5f5 !important;
  display: flex !important; /*使物件依序排列*/
  flex-direction: column !important; /*使物件垂直排列*/
}

html, body {
  height: 100%;
  margin: 0;
}

.main {
  flex-grow: 1; /*可佔滿垂直剩餘的空間*/
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

.title {
  color: var(--title-theme-color) !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

.text-viridity {
  color: var(--viridity) !important;
}

.card-body.p-0 .table tbody > tr > td,
.card-body.p-0 .table tbody > tr > th,
.card-body.p-0 .table tfoot > tr > td,
.card-body.p-0 .table tfoot > tr > th,
.card-body.p-0 .table thead > tr > td,
.card-body.p-0 .table thead > tr > th {
  vertical-align: middle;
}

/* .table.text-center,
.table.text-center td,
.table.text-center th {
  text-align: center;
} */

.bg-beige {
  background-color: #EDECEF !important;
}

table .bg-warning {
  text-align: center;
}

[class^='bg-'].disabled {
  opacity: 0.65;
}

/*===========================
    Background Image 
=============================*/
.bg_image--cartbg {
  background-image: url(../images/bg/cartbg.jpg);
}

.bg_image--checkoutbg {
  background-image: url(../images/bg/checkoutbg.jpg?v=2);
}

.bg_image--orderbg {
  background-image: url(../images/bg/orderbg.jpg);
}

[v-cloak] {
  display: none;
}

.margin-center {
  margin-left: auto;
  margin-right: auto;
}

.swiper-pagination-bullet-active {
  background: var(--ultramarine) !important;
}

/* 等比區塊設定 Start */
.aspect-ratio:before {
  content: '';
  width: 100%;
  padding-top: calc(var(--h) * 100% / var(--w));
  display: block;
}

.aspect-ratio {
  position: relative;
  width: 100%;
  height: 100%;
  --w: 3;
  --h: 2;
}

.aspect-ratio.header {
  --w: 12;
  --h: 3.6;
}

@media (max-width: 576px) {
  .aspect-ratio.header {
    --w: 12;
    --h: 5;
  }
}

.aspect-ratio .content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.aspect-ratio img {
  width: 100%;
  height: 100%;
}

/* 等比區塊設定 End */

/* header-area */
.haeder-default .mainmenu__nav ul.primary-menu > li > a {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

.header-area.sticky-header {
  transition: all 0.4s ease-out;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
}

.header-area.sticky-header.sticky {
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.1);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 99;
}

.header-area.sticky-header.sticky.header-area
  .header-navigation-area
  .main-.nav
  > li
  > a {
  height: 50px;
  line-height: 50px;
}

.slick-prev:before,
.slick-next:before {
  color: var(--ultramarine) !important;
}

.text-darkcyan {
  color: var(--ultramarine) !important;
}

.mega-wrapper li.lavel-1 .dropdown__ {
  width: 480px;
}

.mega-wrapper li.lavel-1 .dropdown__ a::before {
  content: '' !important;
}

.-primary--1 .sub- div {
  padding: 10px 30px;
}

input[type='radio'] {
  display: none !important;
}

input:checked + .button {
  margin: 0 5px 10px 0;
  padding: 5px 10px;
  background: var(--ultramarine);
  color: #fff;
  cursor: default;
}

.button {
  display: inline-block;
  margin: 0 5px 10px 0;
  padding: 5px 10px;
  background: #f7f7f7;
  color: #333;
  cursor: pointer;
}

.button:hover {
  background: var(--ultramarine);
  color: #fff;
  cursor: pointer;
}

.lineThrough:hover {
  background: #f7f7f7 !important;
  color: #333 !important;
  cursor: default !important;
}

.click {
  cursor: pointer;
}

.icon {
  font-size: 20px;
  color: var(--ultramarine);
}

.isReverse i {
  transform: rotate(180deg);
}

.accordion-button:not(.collapsed) {
  color: var(--ultramarine);
  background-color: transparent;
  box-shadow: none;
}

.accordion-button:focus {
  z-index: 3;
  border-color: none;
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed):after {
  background-image : url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238D7FAA'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
  
  

.product .content {
  padding: 10px 15px !important;
  text-align: left;
}

.product .thumbnail {
  position: relative;
}

.thumbnail img {
  display: block;
  /* width: 100%; */
  height: auto;
  object-fit: cover;
  object-position: center center;
  aspect-ratio: 4/4;
  margin: 0 auto;
}

.shop-minimal-product .thumbnail img {
  max-height: 220px;
  height: 100%;
}

.shop-minimal-product .product .content {
  padding: 30px 20px !important;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  top: calc(50% - var(--swiper-navigation-size) / 2);
  color: var(--viridity);
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.off {
  font-size: 0.6rem;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  border-top-left-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
  color: #eeeeee;
  background-color: #4caf50;
  padding-right: 0.3125rem !important;
  padding-left: 0.3125rem !important;
}

.highlights ul {
  margin-bottom: 0 !important;
}

.available-offers .offer-div {
  margin-bottom: 8px;
}

.available-offers img {
  width: 22px;
  height: 22px;
  margin-right: 0.5rem;
}

.parent {
  height: 100% !important;
  overflow: visible !important;
}

.uppercase {
  text-transform: uppercase;
}

.lineThrough {
  text-decoration: line-through;
}

.logo {
  vertical-align: bottom !important;
}

.logo a {
  font-weight: 900 !important;
}


.form-select {
  width: 100%;
  background-color: transparent !important;
  border: 1px solid #999999 !important;
  border-radius: 50px !important;
  line-height: 23px !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  color: #000000 !important;
  margin-bottom: 15px !important;
}

/* .form-select:focus {
  border-color: none;
  box-shadow: none;
  outline: 0 none;
} */

.form-check-inline {
  display: inline-block;
  margin-right: 0 !important;
}

/*-- Checkout Payment Method --*/
.cerms_conditions {
  background-color: #f6f6f6;
  padding: 45px;
}

@media only screen and (max-width: 479px) {
  .cerms_conditions {
    padding: 30px;
  }
}

.single-product-details-side .product-action .addtocart-o {
  color: #333;
  border-color: #131b13;
  background-color: #f7f7f7;
  position: relative;
  display: inline-block;
  margin: 0 10px;
  padding: 0 30px 0;
  height: 53px;
  font-weight: 600;
  line-height: 57px;
  font-size: 16px;

  /* border-radius: 6px; */
  opacity: 0.3;
  cursor: text;
}

.image-display1 {
  position: absolute;
  text-align: center;
  z-index: 2;
  padding: 0;
  width: 100%;
  background-color: rgba(94, 84, 113, 0.7);
  color: #f7f7f7;
  top: calc(50% - 14px);
  font-weight: 600;
}

@media screen and (max-height: 420px) {
  .g-recaptcha {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

@media screen and (max-height: 320px) {
  .g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

.sellerName {
  width: 60px;
  height: 60px;
  /* padding: 10px; */
  border: 1px solid #D4BFFF;
  color: #D4BFFF;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  word-wrap: break-word;
}

.summernote.dir-rtl + .note-editor .note-editing-area {
  direction: rtl !important;
}

.note-editor .dropdown-toggle::after {
  all: unset;
}

.note-editor .note-dropdown-menu {
  box-sizing: content-box;
}

.note-editor .note-modal-footer {
  box-sizing: content-box;
}

/* Target Inner elements like this. Avoid adding classes. */
.summernote-content ul li {
  color: red;
}

.summernote-content ul li::marker {
  color: red;
  font-size: 20px;
  font-weight: bold;
}
