/* =========================================
   ACCOUNT DASHBOARD CSS
========================================= */
#customer_login,.woocommerce-ResetPassword.lost_reset_password {
  max-width: 95%;
  margin: 0 auto;
  padding: 50px;
}

body .woocommerce form.login, body .woocommerce form.checkout_coupon, body .woocommerce form.register {
  background: white;
  border: none;
  border-radius: 10px;
}

.woocommerce-account .yotpo-widget-my-rewards-widget {
    display: none !important;
}

.woocommerce-account .ast-container {
    max-width: 100% !important;
}

body.woocommerce-page.ast-plain-container.ast-no-sidebar.woocommerce-account #primary {
    margin-top: 0px !important;
}

.woocommerce-account .woocommerce {
    margin-top: 0px !important;
    background: #faf4ee;
    display: grid;
}

.woocommerce-MyAccount-navigation {
    width: 100% !important;
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    flex-direction: row;
}

body .woocommerce-MyAccount-navigation-link {
    border: 0px !important;
}

.woocommerce-MyAccount-navigation-link {
    white-space: nowrap !important;
}

.woocommerce-MyAccount-navigation ul {
    overflow-x: auto !important;
    background: white !important;
    padding-inline: 5px !important;
}

.woocommerce-MyAccount-navigation-link a {
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.woocommerce-MyAccount-content > p:first-of-type {
    font-size: 30px !important;
    font-weight: 900 !important;
    margin-bottom: 20px;
    line-height: 1.5;
}

.woocommerce-MyAccount-content {
    padding: 50px;
    background: #fff;
    margin: 0 auto;
    margin-block: 40px;
    border-radius: 20px;
}

body .woocommerce-MyAccount-navigation-link.is-active a {
    background: transparent !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 10px;
}

/* =========================================
   ACCOUNT DETAILS CSS
========================================= */
.woocommerce-js form .form-row label {
    text-transform: uppercase;
}

body .woocommerce-MyAccount-navigation-link a {
    padding-block: 20px !important;
}

.woocommerce-account .woocommerce-Input,
.woocommerce-account .woocommerce-Button {
    border-radius: 10px !important;
}

/* =========================================
   SUBSCRIPTION & ORDER TABLES
========================================= */
#order-actions-footer a{
	border-radius: 10px !important;
  font-size: 13px !important;
  width: 80px !important;
  background: black !important;
}
#pending .order_item,#on-hold-no-remove .order_item{
grid-template-columns:1fr 120px !important;	
}
.button.wpr-cancel-qty {
  margin-right: 10px !important;
}
.order-again {
  text-align: left !important;
}
.wpr-qty-input.input-text {
	text-align:center !important;
}
.wpr-quantity-update{
	font-size: 13px !important;
  border-radius: 10px !important;
  background: black !important;
	margin-right: 10px !important;
  margin-top: 10px !important;
}
.wpr-subscription-update,.wpr-add-product,.button.wpr-cancel-qty,.wpr-subscription-update-submit,.wpr-subscription-cancel-submit{
	font-size: 13px !important;
  border-radius: 10px !important;
  background: black !important;

}
.wpr-subscription-update{
	margin-right:10px !important;
}
.wpr-replace-product.button{
		font-size: 13px !important;
  border-radius: 10px !important;
  background: black !important;
  margin-top: 10px !important;
}

#sf-subscription-change-date-submit,#sf-subscription-change-date-cancel,#wpr-subscription-pause-submit,#wpr-subscription-pause-cancel{
	font-size:13px !important;
	border-radius: 10px !important;
  background: black !important;
	line-height:10px;
}

.wpr-quantity-save.disable-click,.wpr-quantity-save{
	font-size: 13px !important;
  border-radius: 10px !important;
	margin-right: 10px !important;
  margin-top: 10px !important;
	margin-left: 10px !important;
}
.variations tbody {
 border:none !important;
}
.variations tbody tr{
 grid-template-columns:1fr 1fr !important;
	padding-block: 0px !important;
  margin-bottom: 0px !important;
	align-items:center;
}
.variations{
	padding-bottom:0px !important;
	margin-bottom: 0px !important;
  padding-top: 0px !important;
	border: none !important;
}
.variations tbody tr td{
	width:100% !important;
}
.variations tr .value{
	text-align:right !important;
}

.variations tr .label{
	font-size:15px !important;
	font-weight:700;
	display:flex !important;
	align-items:center;
	padding-left: 0px !important;
}

.variations tr .value select{
	width:100% !important;
}

.order_details.cancelled-layout .order_item {
	grid-template-columns: 1fr 160px;
}

.next-payment-row .sf-change-payment-date.button {
  margin-left: 5px !important;
}
#sf-change-date-form {
  margin-top: 10px;
  margin-bottom: 10px;
}
.ssd-skip-renewal-label {
  margin-block: 10px;
	font-size: 16px;
}
.ssd-skip-renewal-input {
  margin-right: 10px;
}
.button.ssd-skip-renewal-save {
  margin-right: 5px !important;
}
.woocommerce-account table.my_account_subscriptions,
.woocommerce-account .woocommerce-MyAccount-content > table.woocommerce-MyAccount-orders {
    width: 100% !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    table-layout: fixed;
    background: transparent !important;
}

.woocommerce-account table.my_account_subscriptions thead,
.woocommerce-account .woocommerce-MyAccount-content > table.woocommerce-MyAccount-orders thead {
    display: none !important;
}

.woocommerce-account table.my_account_subscriptions tr.order,
.woocommerce-account .woocommerce-MyAccount-content > table.woocommerce-MyAccount-orders tr.order {
    display: block !important;
    width: 100% !important;
    margin-bottom: 24px !important;
    border: none !important;
    background: transparent !important;
}

.woocommerce-account table.my_account_subscriptions tr.order td:not(.custom-subscription-card),
.woocommerce-account .woocommerce-MyAccount-content > table.woocommerce-MyAccount-orders tr.order td:not(.custom-subscription-card) {
    display: none !important;
}

.custom-subscription-card {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}
.order-again .button{
	border-radius: 10px !important;
  text-decoration: none !important;
  background: black !important;
}
.order-again {
  text-align: center;
}

/* Related Subscriptions in Order Details */
.woocommerce-order-details table.woocommerce-MyAccount-subscriptions {
    width: 100% !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 20px !important;
    background: transparent !important;
    table-layout: fixed !important;
}

.woocommerce-order-details table.woocommerce-MyAccount-subscriptions thead {
    display: none !important;
}

.woocommerce-order-details table.woocommerce-MyAccount-subscriptions tbody tr.order {
    display: block !important;
    width: 100% !important;
    margin-bottom: 24px !important;
    background: transparent !important;
    border: none !important;
}

.woocommerce-order-details table.woocommerce-MyAccount-subscriptions tbody tr.order td:not(.custom-subscription-card) {
    display: none !important;
}

.woocommerce-order-details table.woocommerce-MyAccount-subscriptions tbody tr.order td.custom-subscription-card {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.woocommerce-order-details table.woocommerce-MyAccount-subscriptions td,
.woocommerce-order-details table.woocommerce-MyAccount-subscriptions th {
    border: none !important;
}

/* =========================================
   SUBSCRIPTION CARD STYLES
========================================= */
.custom-subscription-card::before{
	display:none !important;
	
}

.custom-subscription-card{
	margin-bottom:15px !important;
}
#ssd-pause-form {
  margin-bottom: 10px;
}
#sf-datepicker,#ssd-datepicker{
	height:38px;
}
#sf-datepicker:focus,#ssd-datepicker:focus{
	background:white !important;
}
.subscription-card-inner {
    width: 100%;
    display: grid;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    box-sizing: border-box;
	grid-template-columns: 7fr 1fr;
}

.subscription-thumb {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3d4dc 0%, #b15a72 100%);
    flex-shrink: 0;
    display: none !important;
}

.subscription-content {
    flex: 1;
    width: 100%;
    text-align: left !important;
}

.subscription-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 1;
}

.subscription-status.active { background: #e8f5ea; color: #2d6a3a; }
.subscription-status.on-hold { background: #fdeaea; color: #a02828; }
.subscription-status.pending { background: #fff4df; color: #8a5a0c; }
.subscription-status.cancelled { background: #f1f1f1; color: #777777; }

.subscription-title {
    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.subscription-meta {
    font-size: 14px;
    line-height: 1.4;
    color: #555555;
}

.subscription-meta strong {
    color: #000000;
    font-weight: 700;
}

.subscription-id-custom {
    margin-top: 14px;
    font-size: 15px;
    color: #777777;
}

.subscription-id-custom a {
    color: #777777 !important;
    text-decoration: none !important;
    font-weight: 500;
}

.subscription-id-custom a:hover {
    color: #000 !important;
}

/* Actions Bar */
.subscription-actions-custom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 10px 16px;
    background: #ffffff;
    border-radius: 16px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.subscription-actions-custom .button,
.subscription-actions-custom a {
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 30px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    min-width: 120px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.subscription-actions-custom .button:hover,
.subscription-actions-custom a:hover {
    background: #222222 !important;
    color: #ffffff !important;
    opacity: 0.85;
}

.subscription-actions-custom .button:not(.view) {
    display: none !important;
}

/* Default WooCommerce Table Cleanup */
.woocommerce table.shop_table td,
.woocommerce table.shop_table {
    border: none !important;
}

.woocommerce-orders-table__cell {
    width: 100% !important;
    padding: 0 !important;
}

/* =========================================
   SUBSCRIPTION DETAIL VIEW
========================================= */

.woocommerce-account .checkout_coupon.woocommerce-form-coupon {
  width: 100% !important;
  margin-block: 0px !important;
  border: 0px !important;
  display: flex;
  gap: 20px;
  padding: 0px !important;
}
.subscription-status-badge.pending-cancellation,.subscription-status-badge.pending{
	background: #fff1d6;
  color: #b26a00;
}
.subscription-detail-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 30px;
}

.subscription-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #eee;
}

.subscription-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: max-content;
    margin-bottom: 16px;
}

.subscription-status-badge.active { background: #dff3e4; color: #1c7c3a; }
.subscription-status-badge.on-hold { background: #f8e1e1; color: #b42318; }
.subscription-status-badge.pending-payment { background: #fff1d6; color: #b26a00; }
.subscription-status-badge.processing { background: #dff1ff; color: #006bb3; }
.subscription-status-badge.completed { background: #e6f7ec; color: #167c3a; }
.subscription-status-badge.cancelled { background: #ececec; color: #666; }
.subscription-status-badge.failed { background: #ffe2e0; color: #d92d20; }
.subscription-status-badge.expired { background: #f1f1f1; color: #777; }
.subscription-status-badge.pending-cancel { background: #fff3d6; color: #a15c00; }
.subscription-status-badge.refunded { background: #e8f7ff; color: #006b8f; }

.subscription-detail-id {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subscription-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
}

.subscription-detail-item {
    background: #faf7f2;
    border-radius: 14px;
    padding: 20px;
}

.subscription-detail-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 8px;
}

.subscription-detail-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #000;
}

.subscription-payment-method {
    font-weight: 700;
}

.subscription-detail-actions {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #eee;
}

.subscription-detail-actions .button {
    height: 50px;
    padding: 0 24px !important;
    border-radius: 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-decoration: none !important;
}

.subscription-detail-actions .cancel {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
}

.subscription-detail-actions .change_address {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

/* =========================================
   ORDER DETAILS STYLING
========================================= */
.order_details,
.order_details thead,
.order_details tbody,
.order_details tfoot,
.order_details tr,
.order_details th,
.order_details td {
    display: block !important;
    width: 100%;
}

.order_details {
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
}

.order_details tfoot {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 24px 0px;
    box-sizing: border-box;
}

.order_details tfoot tr {
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    background: #faf7f2;
    border-radius: 20px;
    padding: 28px;
    box-sizing: border-box;
}

.order_details tfoot th,
.order_details tfoot td {
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.order_details tfoot th {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7a746d;
    line-height: 1.4;
}

.order_details tfoot td {
    font-size: 18px;
    font-weight: 700 !important;
    color: #000;
    line-height: 1.4;
}

.order_details tfoot tr:last-child {
    background: #f3ebe0;
}

.order_details tfoot tr:last-child th {
    font-size: 14px !important;
    color: #000;

}

.order_details tfoot tr:last-child td {
    font-size: 21px !important;
    line-height: 1;
    font-weight: 900 !important;
}

.woocommerce-account .woocommerce-js table.shop_table .woocommerce-Price-amount,
.woocommerce-page table.shop_table .woocommerce-Price-amount {
    font-weight: 700 !important;
}

/* Order Items */
.order_details tbody tr {
    display: grid !important;
    grid-template-columns: 40px 1fr 223px;
    background: #faf4ee;
    padding-block: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.order_details tbody tr.woocommerce-table__line-item.order_item {
    grid-template-columns: 1fr 1fr !important;
}

.order_details tbody tr .product-name a {
    font-size: 18px;
    font-weight: 600;
}

.order_details tbody tr .product-total .woocommerce-Price-amount {
    font-size: 20px !important;
    font-weight: 700;
}

.shop_table.order_details thead tr {
    display: flex !important;
    justify-content: space-between;
}

.shop_table.order_details thead {
    background-color: transparent !important;
}

.shop_table tr .product-total {
    text-align: right !important;
}

.shop_table.order_details thead tr .product-remove {
    display: none !important;
}

.shop_table.order_details .wc-item-meta li {
    font-size: 16px !important;
    line-height: 16px !important;
    margin-block: 10px;
}

.woocommerce-js a.remove {
    line-height: 15px !important;
    color: #000 !important;
    opacity: 1 !important;
}

.woocommerce-button.button.pay {
    display: flex !important;
}

.woocommerce-button.button.view {
    text-align: center;
    line-height: 20px !important;
}

/* Subscription Details Grid */
table.subscription_details {
    width: 100% !important;
    border: none !important;
    border-collapse: separate !important;

    background: transparent !important;
}

table.subscription_details tbody {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

table.subscription_details tr {
    display: flex;
    flex-direction: column;
    background: #f5f2eb;
    border-radius: 18px;
    padding: 28px;
}

table.subscription_details td {
    border: none !important;
    padding: 0 !important;
    display: block;
}

table.subscription_details tr td:first-child {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b857c;
    font-weight: 700;
    margin-bottom: 14px;
}

table.subscription_details tr td:last-child {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

table.subscription_details tr:last-child td:last-child {

    margin-top: 10px;

}
table.subscription_details tr:last-child td:last-child a{
	margin-bottom:5px !important;
}

table.subscription_details .button {
    background: #000 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 12px 20px !important;
    text-decoration: none !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
	margin-top:0px !important;
}
table.subscription_details tr:last-child {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* =========================================
   ADDRESSES
========================================= */
.woocommerce-columns.addresses {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.woocommerce-columns.addresses .woocommerce-column {
    background: #faf7f2;
    border-radius: 24px;
    padding: 32px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.woocommerce-columns.addresses .woocommerce-column__title {
    margin: 0 0 24px !important;
    padding: 0 !important;
    border: none !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    line-height: 1.4;
    background: transparent;
}

.woocommerce-columns.addresses address {
    margin: 0;
    padding: 0;
    border: none !important;
    background: none !important;
    font-style: normal;
    color: #000;
    font-size: 18px;
    line-height: 1.9;
    font-weight: 500;
}

.woocommerce-columns.addresses .woocommerce-customer-details--phone,
.woocommerce-columns.addresses .woocommerce-customer-details--email {
    margin-top: 18px !important;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.woocommerce-columns.addresses svg,
.woocommerce-columns.addresses i {
    margin-right: 8px;
}

.woocommerce-columns.addresses .col-1,
.woocommerce-columns.addresses .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-page .col2-set::before,
.woocommerce-page .col2-set::after {
    display: none !important;
}

/* My Account Addresses */
.woocommerce-Address {
    background: #faf4ee;
    border: 1px solid #e8e4dd;
    border-radius: 14px;
    padding: 24px;
    position: relative;
    transition: 0.2s ease;
	width: 100% !important;
}

.woocommerce-Address-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.woocommerce-Address-title h2 {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    color: #000;
}

.woocommerce-Address-title .edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
    width: 150px !important;
    padding-left: 0px !important;
}

.woocommerce-Address-title .edit:hover {
    opacity: 0.88;
}

.woocommerce-Address address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    border: 0px !important;
    padding-inline: 0px !important;
    font-weight: 700;
    color: #736b6b;
}

.woocommerce-Addresses{
	grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
	display:grid !important;
}
.woocommerce .woocommerce-Addresses .woocommerce-Address-title h2{
	font-size:18px !important;
}

/* =========================================
   STORE CREDITS & HISTORY
========================================= */
#acfw-store-credits-my-account {
    background: #faf4ee;
    color: #faf4ee;
    border-radius: 18px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}

#acfw-store-credits-my-account p:first-child {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #f5a623;
    margin-bottom: 12px;
}

#acfw-store-credits-my-account strong {
    display: block;
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    margin-top: 6px;
    margin-bottom: 14px;
}

#acfw-store-credits-my-account p:nth-child(2) {
    font-size: 17px;
    line-height: 1.7;
    color: #000;
    margin-bottom: 24px;
    font-weight: 700;
}

#acfw-store-credits-my-account p:last-child {
    display: flex;
    gap: 12px;
}

#acfw-store-credits-my-account .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

#acfw-store-credits-my-account .button.alt {
    background: #000;
    color: #fff;
    border: none;
    text-decoration: none !important;
    margin-top: -40px;
}

#acfw-store-credits-my-account .button.alt:hover {
    transform: translateY(-1px);
}

.acfw-store-credit-history {
    margin-top: 32px;
}

.acfw-store-credit-history::before {
    content: "CREDIT HISTORY";
    display: block;
    margin-bottom: 18px;
    padding-left: 4px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #000;
}

.acfw-store-credit-history table,
.acfw-store-credit-history thead,
.acfw-store-credit-history tbody,
.acfw-store-credit-history tr,
.acfw-store-credit-history th,
.acfw-store-credit-history td {
    display: block;
    width: 100%;
}

.acfw-store-credit-history thead {
    display: none;
}

.acfw-store-credit-history .ant-table-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 24px;
}

.acfw-store-credit-history .ant-table-cell {
    background: #f7f2eb;
    border-radius: 18px;
    padding: 30px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border: 1px solid #ece4db;
}

.acfw-store-credit-history .ant-table-cell::before {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 16px;
}

.acfw-store-credit-history td:nth-child(1)::before { content: "Date"; }
.acfw-store-credit-history td:nth-child(2)::before { content: "Activity"; }
.acfw-store-credit-history td:nth-child(3)::before { content: "Amount"; }
.acfw-store-credit-history td:nth-child(4)::before { content: "Related"; }

.acfw-store-credit-history td {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: #000;
}

.acfw-store-credit-history td:nth-child(3) {
    color: #2d6a3a;
    font-size: 25px;
    font-weight: 900;
}

.acfw-store-credit-history td:nth-child(4) {
    color: #4a4a4a;
}

.ant-table-tbody > tr.ant-table-row:hover > td {
    background: #faf4ee;
}

.acfw-store-credit-history .ant-table-container,
.acfw-store-credit-history .ant-table,
.acfw-store-credit-history .ant-table-content {
    border: none !important;
    background: transparent !important;
}

.ant-table-content table{
	border:0px !important;
}

/* =========================================
   CART STYLES
========================================= */
.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
    border: 1px solid #e0e0e0 !important;
    border-collapse: collapse !important;
}

.woocommerce-cart .woocommerce-cart-form .woocommerce-cart-form__contents tr,
.woocommerce-cart .cart-collaterals .cart_totals table tr {
    border-bottom: 1px solid #e0e0e0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
    border-top: none !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table {
    border-collapse: collapse !important;
}

.woocommerce-account .woocommerce-js h2 {
    font-weight: 600 !important;
}

.acfw-single-coupon-block {
    border: none !important;
    background: #faf4ee !important;
}

/* Popup Subscription */

.wpr-add-new-subscription {
  justify-content: center;
  gap: 20px;
}
.wpr-product-image {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
	background: #fff;
}
.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
  border-radius: 10px;
}
.wpr-product-name {
  margin-top: 20px;
  margin-bottom: 10px;
}
.wpr-product-add-button {
  margin-top: 20px;
}
.wpr-add-simple-product.button {
  margin-bottom: 5px !important;
}
.ssd-search-modal-header, .ssd-modal-wrapper, .ssd-modal, #ssd-modal-content {
  background: #faf4ee;
}





@media(max-width:921px){
	.woocommerce-account .checkout_coupon.woocommerce-form-coupon{
		display:grid !important;
		gap: 10px;
	}
	.woocommerce-account .checkout_coupon.woocommerce-form-coupon .form-row,#ssd-add-subscription-coupon{
		max-width:100% !important;
		width: 100% !important;
	}
		.woocommerce-account .checkout_coupon.woocommerce-form-coupon .form-row::before,	.woocommerce-account .checkout_coupon.woocommerce-form-coupon .form-row::after{
			display:none !important;
	}
	#sf-subscription-change-date-cancel {
  margin-top: 10px;
}
	.sf-change-payment-date.button,.ssd-skip-renewal.button,#sf_change_frequency_edit_button{
		max-width:100% !important;
	}
	.sf-change-payment-date.button{
		margin-bottom: 6px !important;
  margin-left: 0px !important;
	}
	.next-payment-row .sf-change-payment-date.button {
  margin-left: 0px !important;
  margin-bottom: 6px;
  margin-top: 10px !important;
}
	.woocommerce-MyAccount-content{
		width:95% !important;
	}
	#sf_change_frequency_edit_button{
		margin-top: 6px !important;
  margin-left: 0px !important;
	}
	
}




@media(max-width:768px){
    #customer_login, .woocommerce-ResetPassword.lost_reset_password {
  max-width: 100% !important;
  margin: 0 auto;
  padding: 20px !important;
}
.woocommerce-account	.woocommerce-button{
	display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
	.order_details.cancelled-layout .order_item {
  grid-template-columns: 1fr 68px;
}
	#wpr-pause-date-subscription{
		width:100% !important;
	}
	#wpr-subscription-pause-submit {
  margin-top: 10px;
}
	.subscription-actions-row td{
		display: flex !important;
  flex-wrap: wrap !important;
		gap:5px;
	}
	.subscription-actions-row td a{
		flex-basis:49% !important;
	}
	.wpr-subscription-cancel-submit {
  margin-top: 10px;
}
	.wpr-change-subscription-variation.variations_form.cart {
  display: grid !important;
  grid-template-columns: 1fr !important;
}
	.woocommerce-js table.shop_table th.product-name{
		text-align:left !important;
	}
	.wpr-quantity-update.button {
  margin-bottom: 10px !important;
}
	.wpr-quantity-update,.wpr-subscription-update.button,.wpr-replace-product.button,.wpr-quantity-save,.wpr-cancel-qty{
		width:100% !important;
		text-align:center;
	}
	.wpr-quantity-save.disable-click{
		margin-left: 0px !important;
  margin-bottom: 10px !important;
	}
	
	#sf-change-date-form{
		display:grid !important;
		margin-bottom: 6px;
	}
	#sf-subscription-change-date-cancel{
		margin-top:6px !important;
	}
	
	#sf_subscription_frequency,#sf-datepicker, #ssd-datepicker{
		width:100% !important;
	}
	.ssd-skip-renewal-input,#sf_subscription_frequency {
  margin-bottom: 10px !important;
}
	
	.button.ssd-skip-renewal-save,.sf_change_frequency_cancel,#sf-datepicker {
  margin-bottom: 6px !important;
}
	#sf_change_frequency_cancel{
		margin-top:5px !important;
		margin-left:0px !important;
	}
	
	
	
	table.subscription_details .button{
		max-width:100% !important;
	}


    /* Account page all css	 */
	.subscription-card-inner {
        flex-direction: column;
        padding: 20px;
    }
    .subscription-thumb {
        width: 90px;
        height: 90px;
        min-width: 90px;
    }
    .subscription-title {
        font-size: 20px !important;
    }
    .subscription-meta {
        font-size: 15px;
    }
    .subscription-actions-custom {
        justify-content: center;
        padding: 18px;
    }
    .subscription-actions-custom .button,
    .subscription-actions-custom a {
        width: 100%;
        text-align: center;
    }

    .subscription-detail-grid {
        grid-template-columns: 1fr;
    }
    .subscription-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .subscription-detail-actions {
        flex-direction: column;
    }
    .subscription-detail-actions .button {
        width: 100%;
    }

    .order_details tfoot {
        grid-template-columns: 1fr;
        padding: 16px 0px !important;
        gap: 16px;
    }
    .order_details tfoot tr {
        padding: 22px;
        border-radius: 16px;
    }
    .order_details tfoot td {
        font-size: 18px;
			text-align:right !important;
    }
    .order_details tfoot tr:last-child td {
        font-size: 34px !important;
			    display: flex !important;
			justify-content: end !important;
			flex-wrap:wrap !important;
    }

    .woocommerce-columns.addresses {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .woocommerce-columns.addresses .woocommerce-column {
        padding: 24px;
        border-radius: 18px;
    }
    .woocommerce-columns.addresses address {
        font-size: 16px;
        line-height: 1.8;
    }
    .woocommerce-columns.addresses .woocommerce-customer-details--phone,
    .woocommerce-columns.addresses .woocommerce-customer-details--email {
        font-size: 15px;
    }

    table.subscription_details tbody {
    grid-template-columns: 1fr 1fr;
  }

    .acfw-store-credit-history .ant-table-row {
        grid-template-columns: 1fr;
    }
    .acfw-store-credit-history .ant-table-cell {
        padding: 24px;
        min-height: auto;
    }
    .acfw-store-credit-history td {
        font-size: 16px;
    }
    .acfw-store-credit-history td:nth-child(3) {
        font-size: 26px;
    }
	.woocommerce-MyAccount-content{
		padding:16px !important;
	}
	.order_details tfoot tr{
		display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center;
  gap: 3px !important;
	}
	
	.woocommerce-page table.shop_table .woocommerce-Price-amount {
  font-size: 20px;
}
	 .order_details tfoot tr:last-child td {
    font-size: 20px !important;
  }
	
	.woocommerce-Addresses{
		grid-template-columns: 1fr !important;
	}
	#acfw-store-credits-my-account strong{
		font-size: 46px;
	}
	
}


@media(max-width:600px){

    .wpr-subscription-update.button {
  margin-bottom: 10px !important;
}

.wpr-subscription-cancel-submit {
  margin-bottom: 10px !important;
}
	.button.wpr-cancel-qty {
  margin-bottom: 10px !important;
}
	.product-name .wpr-replace-product.button{
		margin-top:0px !important;
	}
	.woocommerce-pagination.woocommerce-pagination--without-numbers.woocommerce-Pagination {
  margin-top: 20px !important;
}
	.woocommerce-account table.my_account_subscriptions tr.order, .woocommerce-account .woocommerce-MyAccount-content > table.woocommerce-MyAccount-orders tr.order{
		margin-bottom:0px !important;
	}
	.subscription-actions-custom{
		padding:0px !important;
	}
	.subscription-card-inner{
		grid-template-columns: 1fr;
	}
/* Account Css	 */
	.shop_table.order_details{
		margin-bottom:20px !important;
	}
 .order_item .wpr-quantity-save{
		margin-bottom: 10px !important;
  margin-left: 0px !important;
	}
	.order_details tbody tr .product-name a, .order_details tbody tr .product-total .woocommerce-Price-amount,table.subscription_details .button,.wpr-add-product{
		font-size: 12px !important;
	}
	.order_details tbody tr.woocommerce-table__line-item.order_item {
  grid-template-columns: 180px 1fr !important;
}
	.woocommerce td.product-name .wc-item-meta li {
  font-size: 12px !important;
  line-height: 16px !important;
}
	.woocommerce-js table.shop_table th.product-name{
		text-align:left !important;
	}
	.woocommerce-MyAccount-content > p:first-of-type{
		font-size: 19px !important;
	}
	 .order_details tfoot td {
    font-size: 16px !important;
		 text-align: right;
  }
	
	  .order_details tfoot {
    padding: 16px 0px !important;
  }
	.shop_table.order_details thead tr {
  display: grid !important;
  grid-template-columns: 1fr 180px;
}
	.woocommerce-page table.shop_table .woocommerce-Price-amount{
		 font-size: 16px !important;
	}
	.woocommerce-order-details table.woocommerce-MyAccount-subscriptions {
  border-spacing: 0 0px !important;

}
	.woocommerce-js .woocommerce table.shop_table{
		margin-bottom:0px !important;
	}
	table.subscription_details {
  border-spacing: 0px 30px;
}
	 table.subscription_details tbody {
    grid-template-columns: 1fr !important;
  }
	table.subscription_details tr td:first-child{
		margin-bottom:5px !important;
	}
		
	table.subscription_details tr {
  padding: 13px 18px;
}
	
	table.subscription_details tr td:last-child {
  font-size: 15px;
}
	.order_details tbody tr {
  grid-template-columns:  29px 1fr 83px;

}
	 
	.shop_table.order_details tfoot tr:last-child td {
    font-size: 16px !important;
  }
	.woocommerce-account .woocommerce-MyAccount-content > table.woocommerce-MyAccount-orders{
		border-spacing: 0 0px !important;
	}
	
	table.subscription_details tbody{
		gap:12px !important;
	}
	table.subscription_details .button{
		max-width:100% !important;
	}
	
	.woocommerce-Address-title .edit{
  width: 100% !important;

  margin-block: 15px;	
	}

	.account_display_name_description{
		font-size:12px !important;
	}
}


@media(max-width: 480px){
	.subscription-actions-row td a{
		flex-basis:48% !important;
	}
	.woocommerce-button.button.cancel.wcs_block_ui_on_click {
  align-items: center;
  display: flex;
  justify-content: center;
}
	.change_payment_method,.subscription_renewal_early{
		display: flex !important;
  align-items: center !important;
  justify-content: center !important;
	}
	.woocommerce-account .checkout_coupon.woocommerce-form-coupon .form-row.form-row-first{
		margin-bottom:0px !important;
	}
	.wpr-replace-product.button {
  margin-top: 0px !important;
}
	#customer_login, .woocommerce-ResetPassword.lost_reset_password {
  max-width: 100%;
  padding: 20px;
}
}
	
	