/* CSS Variables for color scheme (teal and coral) */
:root {
    --primary-color: #008080;
    --accent-color: #ff6666;
    --text-color: #333333;
    --bg-color: #f8f8f8;
    --link-color: #0073aa;
    --widget-text-color: #0073aa;
    --widget-text-color-hover: #005177;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
}


.clear{ clear: both; }
.clearfix { display: block; }

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.p-0{ padding: 0 !important; }
.p-1{ padding: 5px !important; }
.p-2{ padding: 10px !important; }
.p-3{ padding: 15px !important; }
.p-4{ padding: 20px !important; }

.py-0{ padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1{ padding-top: 5px !important; padding-bottom: 5px !important; }
.py-2{ padding-top: 10px !important; padding-bottom: 10px !important; }
.py-3{ padding-top: 15px !important; padding-bottom: 15px !important; }
.py-4{ padding-top: 20px !important; padding-bottom: 20px !important; }

.px-0{ padding-left: 0 !important; padding-right: 0 !important; }
.px-1{ padding-left: 5px !important; padding-right: 5px !important; }
.px-2{ padding-left: 10px !important; padding-right: 10px !important; }
.px-3{ padding-left: 15px !important; padding-right: 15px !important; }
.px-4{ padding-left: 20px !important; padding-right: 20px !important; }

.pt-0{ padding-top: 0 !important; }
.pt-1{ padding-top: 5px !important; }
.pt-2{ padding-top: 10px !important; }
.pt-3{ padding-top: 15px !important; }
.pt-4{ padding-top: 20px !important; }

.pb-0{ padding-bottom: 0 !important; }
.pb-1{ padding-bottom: 5px !important; }
.pb-2{ padding-bottom: 10px !important; }
.pb-3{ padding-bottom: 15px !important; }
.pb-4{ padding-bottom: 20px !important; }

.pr-0{ padding-right: 0 !important; }
.pr-1{ padding-right: 5px !important; }
.pr-2{ padding-right: 10px !important; }
.pr-3{ padding-right: 15px !important; }
.pr-4{ padding-right: 20px !important; }

.pl-0{ padding-left: 0 !important; }
.pl-1{ padding-left: 5px !important; }
.pl-2{ padding-left: 10px !important; }
.pl-3{ padding-left: 15px !important; }
.pl-4{ padding-left: 20px !important; }

.m-0{ margin: 0 !important; }
.m-1{ margin: 5px !important; }
.m-2{ margin: 10px !important; }
.m-3{ margin: 15px !important; }
.m-4{ margin: 20px !important; }

.my-0{ margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1{ margin-top: 5px !important; margin-bottom: 5px !important; }
.my-2{ margin-top: 10px !important; margin-bottom: 10px !important; }
.my-3{ margin-top: 15px !important; margin-bottom: 15px !important; }
.my-4{ margin-top: 20px !important; margin-bottom: 20px !important; }

.mx-0{ margin-left: 0 !important; margin-right: 0 !important; }
.mx-1{ margin-left: 5px !important; margin-right: 5px !important; }
.mx-2{ margin-left: 10px !important; margin-right: 10px !important; }
.mx-3{ margin-left: 15px !important; margin-right: 15px !important; }
.mx-4{ margin-left: 20px !important; margin-right: 20px !important; }

.mt-0{ margin-top: 0 !important; }
.mt-1{ margin-top: 5px !important; }
.mt-2{ margin-top: 10px !important; }
.mt-3{ margin-top: 15px !important; }
.mt-4{ margin-top: 20px !important; }

.mb-0{ margin-bottom: 0 !important; }
.mb-1{ margin-bottom: 5px !important; }
.mb-2{ margin-bottom: 10px !important; }
.mb-3{ margin-bottom: 15px !important; }
.mb-4{ margin-bottom: 20px !important; }

.mr-0{ margin-right: 0 !important; }
.mr-1{ margin-right: 5px !important; }
.mr-2{ margin-right: 10px !important; }
.mr-3{ margin-right: 15px !important; }
.mr-4{ margin-right: 20px !important; }

.ml-0{ margin-left: 0 !important; }
.ml-1{ margin-left: 5px !important; }
.ml-2{ margin-left: 10px !important; }
.ml-3{ margin-left: 15px !important; }
.ml-4{ margin-left: 20px !important; }

/* Coupon Category Sidebar */
.coupon-category-sidebar .tod-sidebar-stores-wrap .uagb-post-grid-byline{ padding-bottom: 0 !important; }

/* Categories Index A-Z
------------------------------*/
.cate-az a {
  color: #666666;
}
.cate-az a:hover {
  color: #00979d;
}
.cate-az .cate-item {
  list-style: none;
}
.cate-az .cate-parent > a {
  font-size: 16px;
  color: #00979d;
}
.cate-az .cate-parent > a i {
  color: #666666;
}
.cate-az .cate-child {
  margin-top: 15px;
  padding-top: 10px;
  padding-left: 15px;
  border-top: 2px solid #f5f5f5;
}
.cate-az .category-name:after {
  content: "";
  clear: both;
  display: block;
}
.cate-az .category-name .cat-az-thumb {
  width: 2em;
  height: 2em;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 0.1em rgba(0, 0, 0, 0.1) inset;
  float: left;
  vertical-align: middle;
  margin-right: 0.35rem;
}
.cate-az .category-name img {
  width: 100%;
  height: auto;
}

/*Category Page*/
.coupon-category-header{ display: block; border-bottom: 1px solid var(--ast-global-color-1); padding-bottom: 10px; margin-bottom: 20px;  }
.coupon-category-header .coupon-category-header-inner{ display: flex; justify-content: start; align-items: center; }
.coupon-category-header .coupon-category-header-inner .header-thumb{ font-size: 20px; font-weight: 600; color:var(--ast-global-color-0); }
.coupon-category-header .coupon-category-header-inner .header-thumb i.circular.icon {    
    -webkit-box-shadow: 0em 0em 0em 0.1em rgba(27, 156, 133, 0.4) inset;
    box-shadow: 0em 0em 0em 0.1em rgba(27, 156, 133, 0.4) inset;
}
.coupon-category-header .coupon-category-header-inner .category-title{ font-size: 20px; font-weight: 600; text-transform: uppercase; color: var(--ast-global-color-1); margin:0; padding:0 0 0 10px; }
.coupon-category-header .coupon-category-header-inner .coupon-category-description{ font-size: 20px; font-weight: 600; text-transform: uppercase; color: var(--ast-global-color-1); margin:0; padding:0 0 0 10px; }


.cat-page-with-icon .cate-az .cate-parent>a i {
  color: #741fa2;
}

.cat-page-with-icon .cate-item {
  width: 32% !important;
  box-shadow: 0 0 5px #0003;
  margin: 10px auto;
  border:1px dashed #741fa2;
}

.cat-page-with-icon .shadow-box {
  box-shadow: none;
  background: transparent;
}

.store-list-coupons{ display: block; position: relative; margin-bottom: 20px; }

.cat-store-list-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 20px;
}

.cat-store-list-wrapper .cat-store-thumb-wrapper{  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--bs-white);
}
.cat-store-list-wrapper .cat-store-thumb-wrapper .cat-store-thumb {
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
}

.cat-store-list-wrapper .cat-store-thumb-wrapper .store-name-wrapper{
  padding: 10px;
  font-size: 16px;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  width: 100%;
}
.cat-store-list-wrapper .cat-store-thumb-wrapper .store-name-wrapper .store-name a{
  display: block;
  font-size: 0.876rem;
  color: var(--text-color);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  text-decoration: none;
}

.cat-store-list-wrapper .cat-store-thumb-wrapper .store-name-wrapper .store-name a:hover {
  color: var(--link-color);
}

.coupon-cat-wrapper{ position: relative; display: block; }
.coupon-cat-wrapper .coupon-cat-header{ display: block;  }
.coupon-cat-wrapper .coupon-cat-header .coupon-cat-title{ display: block; margin:0; }

.nav-pagination-wrap{ display: flex; align-items: center; flex-wrap: wrap; flex-direction: row; width: 100%; padding:10px 0; margin: 10px 0;}

.all-category-area  .cate-parent {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-row-gap: 10px;
  grid-column-gap: 15px;
}
.all-category-area  .cate-item {
  width: 100%;
  background: #FFFFFF;
  margin-bottom: 10px;
  border: 1px solid rgb(0 0 0 / 40%);
  box-shadow: 0px 0px 5px #0006;
  border-radius: 10px;
  position: relative;
  min-height: 80px;
}
.all-category-area  .cate-item a{
  display: inline-block;
  width: 100%;
}
.all-category-area  .cate-item a .thumb-img{
  width: 100%;
}
.all-category-area  .thumb-img img {
  border-radius: 10px;
  width: 100%;
}
.all-category-area  .cat-title {
  padding: 3px 5px;
  position: absolute;
  bottom: 0px;
  background: #fffd;
  background: #ffffffdd;
  border-radius: 10px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  width: 100%;
}
@media screen and (max-width: 790px) {
  .all-category-area  .cate-parent {
    display: grid;
    grid-template-columns: auto auto;
  }

}

.store-listing-item{ display: block; }

@media screen and (min-width: 1100px) {
    .store-listing-item .latest-coupon {
        max-width: 45%;
        margin-right: 20px;
    }
}

@media screen and (max-width: 500px) {
  .store-listing-item {
    padding: 10px 10px 5px 10px;
    overflow: hidden;
  }
}
.store-listing-item:last-child {
  margin-bottom: 0;
}
.store-listing-item .store-thumb-link {
  float: none;
  display: block;
  margin-right: 0;
}
@media screen and (min-width: 400px) {
  .store-listing-item .store-thumb-link {
    float: none;
    margin-right: 0;
  }
}
@media screen and (min-width: 500px) {
  .store-listing-item .store-thumb-link {
    float: left;
    margin-right: 20px;
    width: 20%;
  }
}
@media screen and (max-width: 500px) {
  .store-listing-item .store-thumb-link {
    width: 110px;
    float: left;
    margin-right: 10px;
  }
}
.store-listing-item .store-thumb-link .store-thumb {
  width: 100%;
  max-width: 150px;
  margin-bottom: 5px;
}
.store-listing-item .store-thumb-link .store-thumb img {
  max-width: 100%;
  height: auto;
}
@media screen and (max-width: 500px) {
  .store-listing-item .store-thumb-link .store-thumb {
    width: 100%;
    max-width: 100%;
  }
}
.store-listing-item .store-thumb-link .store-thumb a {
  padding: 4px;
  text-align: center;
}
.store-listing-item .store-thumb-link .store-name {
  line-height: 1.3;
}
.store-listing-item .store-thumb-link .store-name a {
  max-width: 150px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.store-listing-item .store-thumb-link .store-name a {
  display: inline-block;
  font-size: 13px;
  color: #666666;
  text-align: center;
}
@media screen and (max-width: 600px) {
  .store-listing-item .store-thumb-link .store-name a {
    max-width: 110px;
  }
}
@media screen and (max-width: 500px) {
  .store-listing-item .store-thumb-link .store-name a {
    width: 100%;
    margin-bottom: 10px;
  }
}
.store-listing-item .store-thumb-link .store-name a:hover {
  color: #00979d;
}
.store-listing-item .store-thumb-link .store-name a i {
  margin-left: 0px;
  position: relative;
  top: 2px;
}
.store-listing-item.no-thumb .latest-coupon {
  max-width: 400px;
}
.store-listing-item .latest-coupon {
  max-width: 250px;
  margin-right: 0px;
  float: left;
  text-align: left;
}

@media screen and (min-width: 500px) {
  .store-listing-item .latest-coupon {
    margin-right: 20px;
    max-width: 70%;
  }
}
@media screen and (max-width: 500px) {
  .store-listing-item .latest-coupon {
    overflow: hidden;
    max-width: auto;
    width: auto;
    float: none;
  }
}
@media screen and (min-width: 790px) {
  .store-listing-item .latest-coupon {
    margin-right: 10px;
  }
}
@media screen and (min-width: 1100px) {
  .store-listing-item .latest-coupon {
    max-width: 45%;
    margin-right: 20px;
  }
}
.store-listing-item .latest-coupon .coupon-title {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 500;
  margin-top: -2px;
  line-height: 1.5;
}
@media screen and (max-width: 500px) {
  .store-listing-item .latest-coupon .coupon-title {
    line-height: 1.3;
    margin-top: 3px;
  }
}
.store-listing-item .latest-coupon .coupon-title a {
  color: #00979d;
}
.store-listing-item .latest-coupon .coupon-title a:hover {
  color: #319799;
}
@media screen and (max-width: 790px) {
  .store-listing-item .latest-coupon .coupon-des {
    display: none;
  }
}
.store-listing-item .coupon-detail {
  margin-top: 25px;
}
@media screen and (max-width: 400px) {
  .store-listing-item .coupon-detail {
    float: right;
    width: 85%;
  }
}
@media screen and (min-width: 500px) {
  .store-listing-item .coupon-detail {
    float: right;
  }
}
@media screen and (max-width: 790px) {
  .store-listing-item .coupon-detail {
    display: none;
  }
  .single-coupon-box .store-listing-item .coupon-detail {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 225px;
    float: none;
  }
}
.store-listing-item .coupon-detail .exp-text {
  font-size: 13px;
  display: block;
  margin-top: 5px;
  margin-bottom: -2px;
  color: #888888;
}
@media screen and (max-width: 500px) {
  .store-listing-item .coupon-detail .exp-text {
    margin-top: 0;
  }
}
.store-listing-item .coupon-save {
  float: right;
  font-size: 15px;
  margin-right: -4px;
  margin-top: -2px;
  color: #999999;
}
.store-listing-item .coupon-save:hover {
  color: #00979d;
}
.store-listing-item .coupon-saved {
  color: #00979d;
}

/* Store Page
------------------------------*/
.stores-wrapper {
  display: block;
  position: relative;
  margin-bottom: 20px;
}
.stores-wrapper .stores-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-direction: column;
  padding: 15px 20px;
  background-color: var(--bs-white);
  margin-top:15px;
}
.stores-wrapper .stores-header .stores-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}
.stores-wrapper .stores-header .stores-description {
  font-size: 14px;
  color: var(--bs-gray-600);
}

.all-stores-main { position: relative; display: block; padding:20px 0; }
.all-stores-main .all-stores-wrapper{ display: flex; flex-direction: column; }
.all-stores-main .all-stores-wrapper .all-stores-menu{ display: block; margin-bottom: 20px; background-color: var(--bs-gray-600); padding:5px 10px; border-radius: 5px; }
.all-stores-main .all-stores-wrapper .all-stores-menu .store-az-menu{ display: block; position: relative; }
.all-stores-main .all-stores-wrapper .all-stores-menu .store-az-menu .item{ display: inline-block; color: var(--bs-white); padding:2px 4px; }
.all-stores-main .all-stores-wrapper .all-stores-menu .store-az-menu .item .badge{ display: none; margin-left: 2px; }

.all-stores-main .all-stores-wrapper .all-stores-listing-content{ display: block; }
.all-stores-main .all-stores-wrapper .all-stores-listing-content .store-character{ display: block;  }
.all-stores-main .all-stores-wrapper .all-stores-listing-content .store-character .store-character-title{ display: block; padding:0; margin-bottom: 10px;  }
.all-stores-main .all-stores-wrapper .all-stores-listing-content .store-character .all-stores-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-gap: 20px; margin-bottom: 20px; }
.all-stores-main .all-stores-wrapper .all-stores-listing-content .store-character .all-stores-grid .store-item{ display: flex; flex-direction: column; justify-content: start; align-items: center; text-align: center; overflow: hidden; background-color: var(--bs-white); }
.all-stores-main .all-stores-wrapper .all-stores-listing-content .store-character .all-stores-grid .store-item .store-thumb-wrapper{ 
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 10px; 
}
.all-stores-main .all-stores-wrapper .all-stores-listing-content .store-character .all-stores-grid .store-item .store-thumb-wrapper a.store-thumb{ display: block; width: 100%; }
.all-stores-main .all-stores-wrapper .all-stores-listing-content .store-character .all-stores-grid .store-item .store-name-wrapper{ display: block; width: 100%; padding:0 5px 10px;}
.all-stores-main .all-stores-wrapper .all-stores-listing-content .store-character .all-stores-grid .store-item .store-name-wrapper a{ 
  display: block;
  font-size: 1.176rem;
  color: var(--text-color);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  text-decoration: none;
}

/* Single Store Page */
.store-coupons-wrapper {margin: 0px; padding: 0px; }
.store-coupons-wrapper .coupon-item{ display: block; background-color: var(--bs-white); padding:0px; margin-bottom: 20px; box-shadow: 0 0px 1px rgba(0, 0, 0, .675) !important;}
.store-coupons-wrapper .coupon-item .store-thumb-link{ display: block; width: 20%; margin: 0px; float: left; padding-top:10px; margin-left:10px; }
.store-coupons-wrapper .coupon-item .store-thumb-link .store-thumb{ display: block; width: 100%; max-width: 150px; margin-bottom: 0px; border-radius: 5px; border: 2px solid var(--bg-color);}
.store-coupons-wrapper .coupon-item .store-thumb-link .store-thumb a {display: block; width: 100%; }
.store-coupons-wrapper .coupon-item .store-thumb-link .store-thumb img {width: 100%;max-width: 100%; height: auto; border-radius: 5px; }

.store-coupons-wrapper .coupon-item .store-coupon-info{ display: block; width: 55%; float: left; padding-top:10px; margin-left:10px;}
.store-coupons-wrapper .coupon-item .store-coupon-info .coupon-title{ display: block; margin-bottom: 5px; font-size: 18px; font-weight: 500; line-height: 1.5;  }
.store-coupons-wrapper .coupon-item .store-coupon-info .coupon-title a{ color: var(--ast-global-color-1); text-decoration: none; }
.store-coupons-wrapper .coupon-item .store-coupon-info .c-type{ margin: 0 0 4px; display: inline-block; }
.store-coupons-wrapper .coupon-item .store-coupon-info .c-type .exp{ font-size: 12px; color: var(--bs-gray-500); }
.store-coupons-wrapper .coupon-item .store-coupon-info .c-type .exp.has-expired{ font-size: 12px; color: var(--bs-pink); }
.store-coupons-wrapper .coupon-item .store-coupon-info .coupon-exclusive{ font-size: 12px; line-height: 14px; color: var(--bs-white); display: inline-block; margin-left:4px; margin-bottom: 4px; padding:2px 8px; background: var(--primary-color); border-radius: 5px; }
.store-coupons-wrapper .coupon-item .store-coupon-info .coupon-desc { font-size: 14px; line-height: 14px; color: var(--bs-gray-600); display: block; margin-bottom: 4px; padding:2px 0; }

.coupon-button-type { display: block; width: 20%; float:right; margin: 0px; padding: 0px; }
.coupon-button-type .coupon-code, .coupon-button-type .coupon-deal {
    line-height: 1;
    padding: 12px 20px;
    color: var(--bs-white);
    background-color: var(--ast-global-color-0);
    font-size: .786rem;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    margin-top: 10px;
    margin-bottom: 2px;
    text-align: center;
    width: 100%;
    max-width: 150px;
    text-decoration: none;
}

.coupon-button-type .coupon-code {
    color: var(--bs-gray-800);
    background: var(--bs-white);
    text-align: right;
    padding: 10px 12px;
    font-size: .786rem;
    border: 2px solid var(--bs-gray-500);
    position: relative;
}

.coupon-button-type .coupon-code .code-text { text-transform: uppercase; }
.coupon-button-type .coupon-code .get-code {
    position: absolute;
    left: -2px;
    top: -2px;
    background: var(--ast-global-color-0);
    color: var(--bs-white);
    font-size: .786rem;
    padding: 12px 15px 12px 14px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    -webkit-transition: .5s;
    transition: .5s;
    min-width: 55%;
    text-align: left;
}

.coupon-button-type .coupon-code:hover, .coupon-button-type .coupon-deal:hover { opacity: .9; }
.coupon-button-type .coupon-code .get-code:hover {
    padding-right: 0;
    -webkit-transition: .7s;
    transition: .7s;
}

.store-coupons-wrapper .coupon-item .coupon-listing-footer {
  margin: 10px 0px 0;
  padding: 5px 20px 5px 12px;
  border-top: 1px solid var(--bs-gray-400);
}
.store-coupons-wrapper .coupon-item .coupon-listing-footer ul, .widget-area .widget-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-coupons-wrapper .coupon-item .coupon-listing-footer ul li, .coupon-modal .coupon-footer ul li {
  padding: 0;
  display: inline-block;
  margin-left: 15px;
}
.store-coupons-wrapper .coupon-item .coupon-listing-footer ul li span, .coupon-modal .coupon-footer ul li a, .coupon-modal .coupon-footer ul li span {
    font-size: 12px;
    color: var(--bs-gray-500);
}

@media screen and (max-width: 500px) {
  .store-coupons-wrapper .coupon-item { display: flex; flex-direction: column; }
  .store-coupons-wrapper .coupon-item .store-thumb-link { width: 100%; float: none; margin: 0; padding: 0; }
  .store-coupons-wrapper .coupon-item .store-thumb-link .store-thumb { width: 100%; max-width: 100%; }
  .store-coupons-wrapper .coupon-item .store-coupon-info { width: 100%; float: none; padding: 10px; margin: 0; }
  .store-coupons-wrapper .coupon-item .coupon-button-type { width: 100%; float: none; padding: 0; margin: 0; text-align: center; }
  
}

/* coupon modal template */
.store-coupon-modal{ width: 100% !important; }
.store-coupon-modal .store-coupon-modal-wrapper{ width: 100% !important; padding:20px; box-sizing: border-box; }
.store-coupon-modal .store-coupon-modal-wrapper .store-coupon-modal-content{ display: flex; flex-direction: column;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.store-coupon-modal .store-coupon-modal-wrapper .store-coupon-modal-content > .content-header{ display: flex; justify-content: space-between; align-items: center; }
.store-coupon-modal .store-coupon-modal-wrapper .store-coupon-modal-content > .content-header > .previous-button-wrap{ margin-bottom: 0; padding:5px 20px; background-color: var(--ast-global-color-0); border-radius: 25px; }
.store-coupon-modal .store-coupon-modal-wrapper .store-coupon-modal-content > .content-header > .previous-button-wrap > a{ display: block; color: var(--ast-global-color-primary); }

/* coupon modal */
.ui.input > input {
    margin: 0;
    max-width: 100%;
    -webkit-box-flex: 1;
    flex: 1 0 auto;
    outline: 0;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    text-align: left;
    line-height: 1.21428571em;
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
    padding: .67857143em 1em;
    background: #fff;
    border: 1px solid rgba(34, 36, 38, .15);
    color: rgba(0, 0, 0, .87);
    border-radius: .28571429rem;
    -webkit-transition: border-color .1s ease, -webkit-box-shadow .1s ease;
    -webkit-transition: box-shadow .1s ease, border-color .1s ease;
    transition: box-shadow .1s ease, border-color .1s ease;
    box-shadow: none;
}
.ui.fluid.input > input {
    width: 0 !important;
}
.ui.action.input > .button, .ui.action.input > .buttons {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-flex: 0;
    flex: 0 0 auto;
}

.ui.action.input > .button, .ui.action.input > .buttons > .button {
    padding-top: .78571429em;
    padding-bottom: .78571429em;
    margin: 0;
}

.modal-content-wrapper{ display: block; position: relative; }
.modal-content-wrapper .coupon-header{ display: flex; justify-content: space-between; align-items: center;}
.modal-content-wrapper .coupon-header .coupon-title{ font-size: var(--wp--preset--font-size--large); font-weight: 500;}
.modal-content-wrapper .coupon-content{ position:relative; display: block; width: 65%; padding: 20px 0 25px; margin: 0 auto; text-align: center; }
.modal-content-wrapper .coupon-content .coupon-type-text{ display: block; width: 100%; text-transform: uppercase; font-weight: bold; }
.modal-content-wrapper .coupon-content .modal-code{ display: block; width: 100%; margin-bottom: 17px; text-align: center; }

.modal-content-wrapper .coupon-content .modal-code {
  background: #ffffff;
  text-align: center;
  margin-bottom: 17px;
  display: block;
}
.modal-content-wrapper .coupon-content .modal-code .coupon-code {
  display: block;
}
.modal-content-wrapper .coupon-content .modal-code .coupon-code::after {
  clear: both;
  content: " ";
  display: block;
}
.modal-content-wrapper .coupon-content .modal-code .coupon-code .input {
  width: 100%;
  max-width: 100%;
}
.modal-content-wrapper .coupon-content .modal-code .coupon-code .ui.fluid.input {
    display: -webkit-box;
    display: flex;
}

.modal-content-wrapper .coupon-content .modal-code .action {
  padding: 20px 0px;
  max-width: 100%;
}

.modal-content-wrapper .coupon-content .modal-code .action .button {
  display: -webkit-box;
  display: flex;
  padding: 20px 25px;
  background-color: var(--ast-global-color-0);
  color: var(--bs-white);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.modal-content-wrapper .coupon-content .modal-code .code-text {
  background: var(--bs-white);
  display: -webkit-box;
  display: flex;
  -webkit-box-flex: 1;
  flex: 1 0 auto;
  padding: 8px 10px 10px;
  font-size: 25px;
  font-weight: bold;
  border: 2px dashed var(--ast-global-color-0);
  color: var(--bs-black);
  border-radius: 3px;
  width: inherit;
  letter-spacing: 2px;
  height: auto;
}

.modal-content-wrapper .coupon-content .modal-code .btn_secondary.deal-actived {
    color: var(--bs-white);
    background: var(--bs-green);
}

.modal-content-wrapper .coupon-content .user-ratting { display: inline-flex; margin-top: 10px; }
.modal-content-wrapper .coupon-content .user-ratting .coupon-vote, .modal-content-wrapper .coupon-content .user-ratting .coupon-save{ text-align: center; border:1px solid var(--bs-gray-400); border-radius: 5px; padding:2px 8px; margin-right: 10px; font-size: 12px; color: var(--bs-gray-600); }
.modal-content-wrapper .coupon-content .user-ratting .coupon-vote > i, .modal-content-wrapper .coupon-content .user-ratting .coupon-save > i{ text-align: center; font-size: 26px; line-height: 1; }
.modal-content-wrapper .coupon-content .go-store{ background-color: var(--ast-global-color-0); color: var(--bs-white); text-align: center; padding: 4px 8px; line-height: 1; border-radius: 5px; }


@media screen and (max-width: 500px) {
  .modal-content-wrapper .coupon-header{
    flex-direction: column;
    border-bottom: 1px solid var(--bs-gray-400);
  }
  .modal-content-wrapper .coupon-content{ width: 100%; }
  .modal-content-wrapper .coupon-content .modal-code .action {
    padding: 20px 0;
  }
  .user-ratting{
    display: none !important;
  }

  .modal-content-wrapper .coupon-content .modal-code .action.ui.fluid.input {
    display: block;
  }
  .modal-content-wrapper .coupon-content .modal-code .action.ui.fluid.input > input.code-text {
    border-right: 2px dashed var(--bs-green);
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
  }
  .modal-content-wrapper .coupon-content .modal-code .action.ui.fluid.input .button {
    border-radius: 0.28571429rem;
  }

  .modal-content-wrapper .coupon-content .modal-code .action .button {
    width: auto !important;
    display: block;
    margin-left: auto;
    margin-top: 10px;
    max-width: 100%;
    -webkit-box-flex: 0;
    flex: none;
    float: none;
    clear: both;
    margin-right: auto;
  }

  .modal-content-wrapper .coupon-content .modal-code .code-text {
    font-size: 30px;
    width: 100% !important;
    text-align: center;
  }
  
}

/** home page Content
------------------------------*/
.home-page-wrapper{ display: block; position: relative; padding: 20px 0; }
.home-page-wrapper .home-page-content{ display: block; background-color: var(--bs-white); }

/** home page latest stores
------------------------------*/
.latest-stores-wrapper{display: block;}
.latest-stores-wrapper .latest-store-list-wrapper{display: block;}
.latest-stores-wrapper .store-title{display: block;}
.latest-stores-wrapper .latest-store-list{display: block;}
.latest-stores-wrapper .latest-store-list .latest-store-grid{display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-gap: 20px; margin-bottom: 20px;}
.latest-stores-wrapper .latest-store-list .latest-store-grid .store-item{display: flex; flex-direction: column; justify-content: start; align-items: center; text-align: center; overflow: hidden; background-color: var(--bs-white); border-radius: 10px; border:1px solid var(--ast-border-color); }
.latest-stores-wrapper .latest-store-list .latest-store-grid .store-item .store-thumb-wrapper {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}
.latest-stores-wrapper .latest-store-list .latest-store-grid .store-item .store-name-wrapper{
  display: block;
  width: 100%;
  padding: 0 5px 10px;
}
.latest-stores-wrapper .latest-store-list .latest-store-grid .store-item .store-name-wrapper a {
    display: block;
    font-size: 1.176rem;
    color: var(--text-color);
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    text-decoration: none;
}


/** Sidebar Styles
------------------------------*/

.sidebar .store-thumb-wrapper {
    padding: 20px 15px;
    background: #fff;
    margin-bottom: 20px;    
    border-radius: 10px;
    border:1px solid var(--ast-border-color);
}
.sidebar .store-thumb-wrapper .store-thumb{ text-align: center; }
.sidebar .store-thumb-wrapper .store-thumb .wp-post-image{ max-width: 100%; }
.sidebar .store-url-wrapper {
    text-align: center;
    margin-top: 10px;  
}
.sidebar .store-url-wrapper .store-url {
    display: inline-block;
    background-color: var(--ast-global-color-0);;
    color: var(--bs-white);
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    text-decoration: none;
    padding: 0px 10px;
    border-radius: 5px;
}