/*---my account---*/
.user-dashboard {
  background: #f2f2f2;
}
.bg-user{
  background: #f2f2f2;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 20%;
    position: sticky;
    top: 150px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    color: #838080;
}
li.woocommerce-MyAccount-navigation-link {
    padding: 9px;
    /* background: #fff; */
    margin: 6px 0;
}

li.is-active {
    background: #325d0d52;
    border: 1px solid #345c0d69;
}

li.is-active a {
    color: #345b0d !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
    width: 78%;
    background: #ffffff;
    padding: 20px;
}

.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
    width: 49% im !important;
}
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
    padding: .8em !important;
    border: 1px solid var(--primary-color) !important;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before{
    content: "\F5F8";
    font-family: bootstrap-icons !important;
    font-size:18px;
    vertical-align: sub;
}
.woocommerce-MyAccount-navigation-link--orders a::before{
    content: "\F23A";
    font-family: bootstrap-icons !important;
    font-size:18px;
    vertical-align: sub;
}
.woocommerce-MyAccount-navigation-link--downloads a::before{
    content: "\F1BC";
    font-family: bootstrap-icons !important;
    font-size:18px;
    vertical-align: sub;
}
.woocommerce-MyAccount-navigation-link--edit-address a::before{
    content: "\F3EA";
    font-family: bootstrap-icons !important;
    font-size:18px;
    vertical-align: sub;
}
.woocommerce-MyAccount-navigation-link--edit-account a::before{
    content: "\F8A7";
    font-family: bootstrap-icons !important;
    font-size:20px;
    vertical-align: sub;
}
.woocommerce-MyAccount-navigation-link--coupons a::before{
    content: "\F4D1";
    font-family: bootstrap-icons !important;
    font-size:20px;
    vertical-align: sub;
}
.woocommerce-MyAccount-navigation-link--support-tickets a::before{
    content: "\F414";
    font-family: bootstrap-icons !important;
    font-size:20px;
    vertical-align: sub;
}
.woocommerce-MyAccount-navigation-link--customer-logout a::before{
    content: "\F1C2";
    font-family: bootstrap-icons !important;
    font-size:18px;
    vertical-align: sub;
}

article.box {
    border: 1px solid #ccc;
    background: #fcfafa;
    padding: 10px 0;
    border-radius: 5px;
}
button.woocommerce-Button.button {
    background: var(--primary-color);
    color: #fff;
}
button.woocommerce-Button.button:hover{
    background: var(--secondary-text);
    color: #fff;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        position: relative;
        top: 0;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: block;
        column-count: 2;
        margin-bottom: 20px;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link{
        border: 1px solid #ccc;
        padding: 9px;
        margin: 0 0px 6px;
        display: inline-block;
        width: 100%;
    }
    .woocommerce-account .woocommerce-MyAccount-content{
        width: 100%;
        background: #ffffff;
        padding: 20px;
    }
}

/*order-details*/
    .tracking-wrapper {
      background: #fff;
      border: 1px solid #e5e5e5;
    }

    .left-panel {
      border-right: 1px solid #e5e5e5;
      padding: 25px;
      font-size: 14px;
    }

    .left-panel h6 {
      font-weight: 700;
      font-size: 13px;
      margin-bottom: 6px;
    }

    .left-panel p {
      margin-bottom: 14px;
      color: #555;
    }

    .brand-logo {
      font-weight: 700;
      font-size: 18px;
      margin-bottom: 20px;
    }

    .right-panel {
      padding: 25px 30px;
    }

    .tracking-no {
      font-size: 14px;
      color: #777;
    }

    .status-title {
      font-size: 28px;
      font-weight: 700;
      margin-top: 10px;
    }

    .status-sub {
      color: #666;
      font-size: 14px;
    }

    .action-box {
      border: 1px solid #e5e5e5;
      padding: 12px;
      font-size: 14px;
    }

    .action-box a {
      display: block;
      text-decoration: none;
      color: #000;
      margin-bottom: 6px;
      font-weight: 500;
    }

    .rating span {
      font-size: 22px;
      margin-right: 12px;
      cursor: pointer;
      color: #aaa;
    }

    .rating span.active {
      color: #000;
    }

/* ==============================
   Tracking Timeline Wrapper
================================ */
.timeline {
  margin-top: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 30px auto;
  gap: 0;
  margin-bottom: 18px;
  position: relative;
  font-size: 14px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 184px;
  top: 0;
  bottom: -25px;
  width: 3px; /* line thickness */
  background: #ddd;
}

/* Remove line for last item */
.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  background: #bbb;
  z-index: 2;
}

.timeline-date {
  font-size: 13px;
  color: #777;
}

.timeline-title {
  font-weight: 600;
  color: #333;
}

.status-delivered .timeline-dot {
  background: #28a745; /* green */
}

.status-shipped .timeline-dot {
  background: #007bff; /* blue */
}

.status-processing .timeline-dot {
  background: #ffc107; /* yellow */
}

.status-default .timeline-dot {
  background: #bbb;
}

.latest .timeline-dot {
  animation: pulse 1.2s infinite;
}


@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0,0,0,0.3);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(0,0,0,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
  }
}

@media (max-width: 768px) {

  .timeline-item {
    grid-template-columns: 120px 30px auto;
  }

  .timeline-item::before {
    left: 135px; /* 120 + 15 */
  }

  .timeline-date {
    font-size: 12px;
  }
}

/*coupon*/
.store-offer-item {
  padding: 20px 20px 16px 20px;
  margin-bottom: 15px;
}
.store-offer-item:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  
}
.shadow-box {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
  background: #f2f2f2;
}

.store-offer-item .store-thumb-link {
    float: left;
}
.store-offer-item .store-thumb-link .offer-image {
    line-height: 0px;
    margin-bottom: 5px;
  text-align:center;
}
.offer-image a {
  border: 1px solid var(--primary-color);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  display: block;
}
.offer-image a:hover {
  border-color: var(--primary-text);
}
.offer-image img {
    width: 80%;
}
.offer-text {
  display:block;
  width:100%;
  height:100px;
  font-size:42px;
  line-height:36px;
  margin:10px 0 0 0;
  /*display: table-cell;*/
  vertical-align: middle;
  text-align: center;
  font-family: var(--primary-font);
  padding: 10px;

}
.latest-coupon .coupon-title {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 500;
  margin-top: -2px;
  line-height: 1.5;
}
.latest-coupon .coupon-des {
    font-size: 13px;
    line-height: 1.7;
    position: relative;
}
.store-offer-item .coupon-detail {
  margin-top: 25px;
}
.coupon-button-type .coupon-deal, .coupon-button-type .coupon-print, .coupon-button-type .coupon-code {
    line-height: 1;
    padding: 14px 38px;
    background: #fc8c99;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 2px;
    min-width: 195px;
    text-align: center;
}
.coupon-button-type .coupon-code {
  color: #444444;
  background: linear-gradient(315deg, rgba(0, 0, 0, 0.06) 10%, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.06) 40%, rgba(0, 0, 0, 0.06) 60%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0) 85%, rgba(0, 0, 0, 0.06) 90%) repeat scroll 0 0/6px 6px rgba(0, 0, 0, 0);
  text-align: right;
  padding: 10px 12px;
  font-size: 20px;
  border: 2px solid #DDDDDD;
  position: relative;
}
.coupon-button-type .coupon-code .code-text {
    text-transform: uppercase;
    background: transparent;
    border: none;
    text-align: right;
}
.coupon-button-type .coupon-code input:focus-visible {
    outline: none;
    border-radius: none;
    border: none;
}
.coupon-button-type .coupon-code .get-code {
  position: absolute;
  left: -2px;
  top: -2px;
  background: #fc8c99;
  color: #FFFFFF;
  font-size: 16px;
  padding: 16px 15px 16px 14px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  transition: all 0.5s ease;
}
.coupon-button-type .coupon-code .get-code:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 48px solid transparent;
  border-left: 44px solid #fc8c99;
  position: absolute;
  right: -44px;
  top: 0;
}
.coupon-button-type .coupon-code .get-code:hover {
  padding-right: 5px;
  transition: all 0.5s ease;
}
.coupon-detail .exp-text {
    font-size: 13px;
    display: block;
    margin-top: 5px;
    margin-bottom: -2px;
    color: #888888;
}