@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');



h1,h2,h3,h4,h5,h6, span ,button, a {
	 font-family: Manrope, sans-serif
}

#absdOrdersPopup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(24, 32, 38, 0.62);
  z-index: 99999;
  padding: 20px;
	overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    touch-action: none;
	overflow:hidden;
}
#absdOrdersPopup.active {
  display: flex;
}
.absd-order-popup {
    position: relative;
    width: 850px;
    max-width: 100%;
    max-height: 80vh;
    /* overflow-y: auto; */
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 34px 30px;
    box-sizing: border-box;
    font-family: Manrope, sans-serif;
    max-height: calc(75vh - 40px);
    display: flex;
    flex-direction: column;
	-webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    overscroll-behavior-y: contain;
	box-sizing: border-box;
    min-height: 0px;
    height: 710px;
}
.absd-order-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}
.absd-order-close svg {
  width: 18px;
  height: 18px;
}
.absd-order-header {
  text-align: center;
  margin-bottom: 24px;
}
.absd-order-header h2 {
  margin: 0;
  font-size: clamp(16.834px, 1.052rem + ((1vw - 3.2px) * 0.818), 24px);
  line-height: 28px;
  font-weight: 600;
  color: #252525;
}
.absd-order-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.absd-order-search {
  width: 340px;
  max-width: 100%;
}
.absd-order-search-input {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 0 16px 0 42px;
    border: 1px solid #E6E9EB;
    border-radius: 20px;
    background: #f4f6f7;
    color: #808080;
    outline: none;
    font-weight: 500;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-family: Manrope, sans-serif;
    line-height: 100%;
    background-image: url(/wp-content/uploads/2026/08/Frame.svg);
    background-repeat: no-repeat;
    background-position: top 10px left 11px;
}
.absd-order-search-input::placeholder {
  color: #808080;
}
.absd-order-search-input:focus {
  border-color: #cdd2d5;
}
.absd-order-search {
  position: relative;
}


.absd-order-filter-wrapper {
  position: relative;
}

.absd-order-filter-btn {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2e5e7;
    border-radius: 20px;
    background: #fff;
    color: #2B2B2B;
    font-weight: 500;
    cursor: pointer;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
}

.absd-order-tabs {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
    overflow-x: auto;
    min-width: 0;
    max-width: 100%;
	    flex: 0 0 auto;
	padding-bottom:4px;
}


.absd-order-tabs button {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 0;
    border-radius: 25px;
    background: #f4f6f7;
    color: #1F2A30;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 15px);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    flex-shrink: 0;
	text-align:center;
	flex-shrink: 0;
}
.absd-order-tabs::-webkit-scrollbar,
.absd-order-list::-webkit-scrollbar{
  height: 4px; /* Horizontal scrollbar height */
  width: 4px;  /* Vertical scrollbar width */
}

/* Track (background) */
.absd-order-tabs::-webkit-scrollbar-track,
.absd-order-list::-webkit-scrollbar-track{
  background: #f1f1f1;
  border-radius: 10px;
}
.absd-order-tabs::-webkit-scrollbar-thumb,
.absd-order-list::-webkit-scrollbar-thumb{
  background:#2B2B2B;
  border-radius:15px;
}

.absd-order-tabs button.active {
  background: #1F2A30;
  color: #fff;
}

.absd-order-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    flex: 1;
	padding-right: 10px;
    margin-right: -10px;
    min-height: 0;
}
.absd-order-card {
  position: relative;
  display: flex;
	flex-direction:column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  padding: 15px;
  box-sizing: border-box;
  border: 1px solid #E6E9EB;
  border-radius: 10px;
  background: #fff;
}
.absd-order-card-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
	gap: 20px;
}
.absd-order-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
	width:100%:
}
.absd-order-image {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid #E6E9EB;
    overflow: hidden;
    background: #fff;
    padding: 8px;
}

.absd-order-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.absd-order-details {
  min-width: 0;
}

.absd-order-details h3 {
    margin: 0 0 7px;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 15px);
    line-height: 100%;
    font-weight: 500;
    color: #2B2B2B;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.absd-order-number {
  margin: 0 0 6px !important;
  font-size: 14px;
  line-height: 16px;
  color: #00a9a7;
  font-weight: 500;
}
/* .absd-order-date,
.absd-order-quantity {
  margin: 0 !important;
  font-size: 12px;
  color: #777e82;
} */
.absd-order-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    width: 100%;
    max-width: 95px;
}
.absd-order-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 20px;
    background: #DBF4E9;
    color: #12B76A;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 100%;
}
.absd-order-status::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}
.absd-order-price {
  margin-top: auto;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #303538;
}
.absd-order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.absd-order-btn {
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1F2A30;
    border-radius: 25px;
    background: #fff;
    color: #202b31;
    line-height: 100%;
    gap: 8px;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
	position:relative;
	z-index:1;
	overflow:hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}
.absd-order-btn:hover {
  background: #202b31;
  color: #fff;
}
.absd-view-order img  {
	transition:.4s;
}
.absd-view-order:hover img {
	filter: brightness(0.5) invert(1);
}
.absd-buy-again {
  background: #202b31;
  color: #fff;
}
.absd-buy-again::before {
	content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgb(255 255 255 / 11%), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}
.absd-buy-again:hover::before {
  left:100%;
}
.absd-no-orders {
  padding: 35px 10px;
  text-align: center;
  color: #777;
  font-size: 14px;
}
.absd-order-list.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.absd-date-filter {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e4e7e9;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 100;
}
.absd-date-filter.active {
  display: block;
}
.absd-date-filter button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  font-size: 12px;
  cursor: pointer;
}
.absd-date-filter button:hover {
  background: #f4f6f7;
}
.absd-order-meta {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    margin-top: 18px;
    max-width: 520px;
}
.absd-order-meta-item {
    min-width: 0;
    padding-right: 28px;
    border-right: 1px solid #e5e7e8;
}
.absd-order-meta-item:last-child {
    padding-left: 28px;
    padding-right: 0;
    border-right: 0;
}
.absd-order-meta-item:nth-child(2) {
    padding-left: 28px;
}
.absd-meta-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 100%;
    color: #808080;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.absd-meta-value {
    display: block;
    color: #2B2B2B;
    font-weight: 600;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 15px);
}
@media (max-width: 768px) {
  #absdOrdersPopup {
    padding: 12px;
  }
  .absd-order-popup {
    width: 100%;
    max-height: 94vh;
    padding: 28px 16px 20px;
    border-radius: 16px;
  }
  .absd-order-topbar {
    align-items: stretch;
  }
  .absd-order-search {
    width: 100%;
	flex: 1.4;
  }
  .absd-order-actions {
    width: 100%;
    flex-wrap: wrap;
  }
	.absd-order-meta-item:nth-child(2),
	.absd-order-meta-item:last-child{
		padding-left: 20px;
	}
		.absd-order-meta-item {
		padding-right: 20px;
	}
}
@media (max-width:700px){
	.absd-order-status {
		padding: 5px 8px;
		font-size: 11px;
	}
	.absd-order-right {
		max-width: 80px;
	}
	.absd-order-image {
		width: 80px;
		height: 80px;
		flex: 0 0 80px;
	}
	.absd-order-meta {
		margin-top: 14px;
    	grid-template-columns: 1fr 1fr 1fr;
	}
	.absd-order-btn {
    	padding: 8px 20px;
	}
	.absd-order-btn img{
		max-width:16px;
	}
	.absd-meta-value,
	.absd-order-details h3,
	.absd-order-number,
	.absd-order-btn{
		font-size: 13px;
	}
}
@media (max-width:600px) {
	.absd-order-title-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 8px;       
		gap: 8px;
		flex-wrap:wrap;
	}
	.absd-order-card {
		align-items:flex-start;
	}
	.absd-order-actions {
		justify-content:flex-start;
	}
	.absd-order-image {
		width: 65px;
		height: 65px;
		flex: 0 0 65px;
	}
	.absd-order-number {
		margin-bottom:0px !important;
	}
	.absd-order-header {
		margin-bottom: 18px;
	}
}
@media (max-width: 480px) {
  .absd-order-left {
    gap: 12px;
  }
  .absd-order-actions {
    flex-direction: column;
    align-items: stretch;
  }
	.absd-order-filter-wrapper {
		flex: 1.2;
	}
	.absd-clear-filter {
		font-size: 13px;
	}
	.absd-order-tabs button {
		font-size:13px;
		padding: 7px 14px;
	}
	.absd-order-filter-btn {
    	padding: 7px 15px;
		font-size:13px;
	}
	.absd-order-filter-btn svg {
		width:15px;
		height:15px;
	}
}
@media (max-width:400px) {
	.absd-meta-label {
	  flex-direction:column;
	  align-items:flex-start;
		margin-bottom: 0px;
		  gap: 4px;
	}
	.absd-order-title-row {
		flex-wrap: wrap;
	}
	.absd-order-image {
		width: 50px;
		height: 50px;
		flex: 0 0 50px;
		padding: 5px;
	}
	.absd-order-topbar {
		gap: 15px;
		flex-wrap: wrap;
		flex-direction: column;
	}
}
/* emplty cart */
.absd-empty-orders {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.absd-empty-orders-image {
    width: 240px;
    margin-bottom: 20px;
}

.absd-empty-orders-image img {
    width: 100%;
    height: auto;
    display: block;
}

.absd-empty-orders-text {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #2b2b2b;
}

.absd-empty-orders-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 40px;
    padding: 0 24px;
    border-radius: 30px;
    background: #202c32;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.absd-empty-orders-btn:hover {
    background: #000;
    color: #fff;
}

/* view order */
#absdViewOrderPopup {
    display: none;
}

#absdViewOrderPopup.active {
    display: flex;
}

.absd-view-order-popup {
    position: relative;
    width: 900px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
}

.absd-view-order-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.absd-view-order-content {
	margin: 100px 0;
    padding: 35px;
}

@media (max-width: 768px) {
    .absd-view-order-content {
        margin: 80px 0;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .absd-view-order-content {
        margin: 80px 0;
        padding: 20px 15px;
    }
}

.entry-content:has(.absd-view-order-content) {
    padding: 0;
}

.absd-view-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.absd-view-order-label {
    margin: 0 0 8px;
    font-size: 14px;
}

.absd-view-order-title {
    margin: 0;
    font-size: 30px;
}

.absd-view-order-date {
    margin: 10px 0 0;
}

.absd-view-order-status {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    white-space: nowrap;
}

.absd-view-order-products h3,
.absd-view-order-summary h3 {
    margin-bottom: 20px;
}

.absd-view-order-product {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
}

.absd-view-order-product-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.absd-view-order-product-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.absd-view-order-product-info p {
    margin: 0;
}

.absd-view-order-product-price {
    font-weight: 600;
}

.absd-view-order-summary {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.absd-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

.absd-summary-total {
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
    font-size: 18px;
}
/* Hide My Account sidebar on View Order page */
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-navigation {
    display: none !important;
}

/* Make order content full width */
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
}
.absd-order-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.absd-clear-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.absd-clear-filter {
    border: 0;
    background: transparent;
    padding: 0;
    color: #2B2B2B;
    text-decoration: underline;
    display: none;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
}
.absd-clear-filter:hover {
	color:#1BB3A9;
}
.absd-clear-filter.active {
    display: flex;
}
       