/**
 * Pie Chen Tea Customizations - Shared Styles
 */

/* ============================================
   Product Name Display
   ============================================ */

   .piechentea-cart td.product-thumbnail {
    padding: 0 10px 0 10px !important;
    max-width: 70px;
}

.piechentea-cart td.product-thumbnail img{
	width: 70px !important;
}

.piechentea-product-name-wrapper {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.piechentea-product-title {
    font-family: Playfair Display;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
    color: #5A5948;
}

.piechentea-product-title a {
	color: inherit !important;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.piechentea-product-title a:hover {
	opacity: 0.7;
}

.piechentea-product-variation {
    color: #2E2E2E;
    margin-top: 2px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

.piechentea-product-meta {
	color: #2E2E2E;
    margin-top: 2px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

.piechentea-product-meta dl {
	margin: 0;
	padding: 0;
}

.piechentea-product-meta dt {
	display: inline;
	font-weight: normal;
	margin-right: 4px;
}

.piechentea-product-meta dd {
	display: inline;
	margin: 0;
}

.piechentea-product-meta .variation {
	margin: 0;
}

.piechentea-product-meta .variation dt,
.piechentea-product-meta .variation dd {
	display: inline;
}
.cart .product-price, .cart .product-subtotal{
	font-size: 14px;
	line-height: 1 !important;
	letter-spacing: 0.1em;
}

/* ============================================
   Quantity Input with +/- Buttons
   ============================================ */
.piechentea-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid #2E2E2E;
	border-radius: 4px;
	overflow: hidden;
	background: transparent;
}

.piechentea-quantity-btn {
	background: transparent;
	border: none;
	border-right: 0px solid #999;
	cursor: pointer;
	padding: 0;
	font-size: 16px;
	line-height: 1;
	transition: background-color 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 48px;
	color: #2E2E2E;
}

.piechentea-quantity-btn:last-child {
	border-right: none;
	border-left: 0px solid #999;
}

.piechentea-quantity-btn:hover {
	background: transparent;
}

.piechentea-quantity-btn:active {
	background: transparent;
}

.piechentea-quantity-icon {
	display: block;
	font-weight: normal;
	user-select: none;
	font-size: 18px;
	line-height: 1;
	color: #2E2E2E;
}

.piechentea-quantity-input,
.piechentea-quantity-wrapper .qty {
	border: none !important;
	appearance: textfield;
	-moz-appearance: textfield;
	color: #2E2E2E;
	background-color: transparent;
	color: #2E2E2E !important;
	font-size: 16px !important;
	padding: 1px 2px !important;
	text-align: center !important;
	width: 40px !important;
}

.piechentea-quantity-input::-webkit-outer-spin-button,
.piechentea-quantity-input::-webkit-inner-spin-button,
.piechentea-quantity-wrapper .qty::-webkit-outer-spin-button,
.piechentea-quantity-wrapper .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.piechentea-quantity-input:focus,
.piechentea-quantity-wrapper .qty:focus {
	outline: none;
	background: #fff;
}

a.checkout-button.button.alt.wc-forward {
    width: 100%;
}

.cart-subtotal, .cart-discount, .shipping, .tax-rate, .order-total {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 10px 0;
}
.cart-collaterals .shop_table_label {
    font-family: DINNeuzeitGrotesk LT Light;
    font-weight: 400;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cart-collaterals .shop_table_value {
    font-family: DINNeuzeitGrotesk LT Light;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-align: right;
    text-transform: uppercase;
}

.cart-collaterals .shipping .shop_table_value{
	max-width: 60%;
}
.cart-collaterals .shipping ul#shipping_method li label {
    display: inline;
    font-family: DINNeuzeitGrotesk LT Light;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-align: right;
    text-transform: uppercase;
    color: #181818 !important;
}
.cart-collaterals .shipping p.woocommerce-shipping-destination {
    line-height: 1.5;
	margin:0;
	font-family: DINNeuzeitGrotesk LT Light;
    font-weight: 400;
    font-size: 10px;
}

.cart-collaterals .shipping a.shipping-calculator-button {
    font-family: DINNeuzeitGrotesk LT Light;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-align: right;
    text-transform: uppercase;
    text-decoration: underline;
    color: #00794D !important;
}

.cart-collaterals .order-total .shop_table_label {
	font-family: DINNeuzeitGrotesk LT BoldCond;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cart-collaterals .order-total .shop_table_value {
	font-family: DINNeuzeitGrotesk LT BoldCond;
    font-weight: 700;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cart-collaterals .cart-discount .shop_table_value{
	display: flex;
}

.cart-collaterals form.woocommerce-shipping-calculator #shipping-calculator-form {
    text-align: left;
}

.cart-collaterals form.woocommerce-shipping-calculator .form-row label {
    line-height: 2;
    font-size: 10px;
}

.cart-collaterals form.woocommerce-shipping-calculator .select2-container .select2-selection--single .select2-selection__arrow {
    position: absolute;
    top: 2px;
    right: .5em;
    height: 100% !important;
    width: 16px !important;
}

.cart-collaterals form.woocommerce-shipping-calculator .select2-container--default .select2-selection--single{
	height: auto !important;
}

.cart-collaterals form.woocommerce-shipping-calculator .select2-selection--single .select2-selection__rendered{
	line-height: 1!important;
}

/* ============================================
   Remove Button Styling
   ============================================ */
.piechentea-remove-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 21px;
	transition: opacity 0.3s ease;
}

.piechentea-remove-item:hover {
	opacity: 0.7;
}

.piechentea-remove-item svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 768px) {
	.piechentea-quantity-btn {
		width: 28px;
		height: 40px;
	}
	
	.piechentea-quantity-input,
	.piechentea-quantity-wrapper .qty {
		width: 45px;
		height: 40px;
		font-size: 13px;
	}
	
	.piechentea-quantity-icon {
		font-size: 16px;
	}
}

/* ============================================
   Thank You Page Styles
   ============================================ */
.piechentea-thankyou {
	max-width: 600px;
	margin: 0 auto;
	padding: 40px 20px;
	font-family: 'DINNeuzeitGrotesk LT Light', sans-serif;
	color: #181818;
}

.piechentea-thankyou-header {
	margin-bottom: 40px;
}

.piechentea-thankyou-title {
	font-size: 30px;
	font-weight: 600;
	margin: 0 0 16px 0;
	color: #181818;
	font-family: 'Playfair', sans-serif;
}

.piechentea-thankyou-message {
	font-size: 14px;
	color: #81817B;
	margin: 0;
}

.piechentea-order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.piechentea-order-id {
	display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'DINNeuzeitGrotesk LT Light', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.piechentea-order-label {
	font-size: 14px;
	font-weight: 600;
	color: #2E2E2E;
	text-transform: uppercase;
}

.piechentea-order-number {
	font-size: 18px;
	font-weight: 600;
	color: #2E2E2E;
}

.piechentea-payment-status {
	padding: 8px 16px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
}

.piechentea-payment-paid {
	background: #6E9267;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
}

.piechentea-payment-pending {
	background: #ff9800;
	color: #fff;
	padding: 8px 14px;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
}

.piechentea-order-items-wrapper {
    background: #FEFEF3;
    border: 1px solid #81817B26;
    border-radius: 7px;
    padding: 30px;
}

.piechentea-order-items {
	margin-bottom: 10px;
}

.piechentea-order-item {
    display: flex;
	align-items: center;
    gap: 10px;
    border-bottom: 1px solid #81817B1A;
    padding: 10px 0;
}

.piechentea-order-item:last-child {
	border-bottom: none;
}

.piechentea-order-item-image {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
}

.piechentea-order-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.piechentea-order-item-details {
	flex: 1;
	min-width: 0;
}

.piechentea-order-item-name {
    color: #181818;
    margin-bottom: 4px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.piechentea-order-item-name a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.piechentea-order-item-name a:hover {
	opacity: 0.7;
}

.piechentea-order-item-variation {
	color: #81817B;
    margin-bottom: 4px;
    font-weight: 400;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.piechentea-order-item-meta {
	font-size: 12px;
	color: #999;
	margin-top: 4px;
}

.piechentea-order-item-quantity {
	font-size: 14px;
	color: #666;
	margin-top: 8px;
}

.piechentea-order-item-price {
    white-space: nowrap;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-align: right;
    text-transform: uppercase;
    color: #181818;
}

.piechentea-order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: none;
    margin-top: 10px;
    font-family: 'DINNeuzeitGrotesk LT BoldCond','DINNeuzeitGrotesk LT Light', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #181818;
}

.piechentea-total-label {
	font-size: 16px;
}

.piechentea-total-amount {
	font-size: 26px;
}

.piechentea-track-order {
	text-align: center;
	margin-top: 20px;
}

a.button.piechentea-track-order-button {
	background: #00794D;
    color: #fff;
    width: 100%;
    padding-top: 10px;
    padding-right: 40px;
    padding-bottom: 10px;
    padding-left: 40px;
    border-radius: 0;
    font-family: 'DINNeuzeitGrotesk LT Light', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.1em;
    text-align: center;
    vertical-align: middle;
	transition: background-color 0.3s ease;
	border: 1px solid #00794D;
}

a.button.piechentea-track-order-button:hover {
	background: transparent;
	color: #00794D;
}

.woocommerce-message::before {
    color: #00794D !important;
}
.woocommerce-message {
    background-color: #D7D7CC !important;
    border: none !important;
    border-left: none !important;
    padding: 15px 20px 15px 50px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    box-shadow: 0px 4px 44px 0px rgba(0, 0, 0, 0.15) !important;
    border-radius: 7px !important;
    position: relative !important;
    color: #333 !important;
    width: var(--content-width);
    margin-bottom: 20px !important;
}

.woocommerce-error {
    background-color: #D7D7CC !important;
    border: none !important;
    border-left: none !important;
    padding: 15px 50px 15px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: normal !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    box-shadow: 0px 4px 44px 0px rgba(0, 0, 0, 0.15) !important;
    border-radius: 7px !important;
    position: relative !important;
    color: #333 !important;
    width: var(--content-width);
    margin-bottom: 30px !important;
    flex-direction: column;
}
ul.woocommerce-error a {
    color: #703C3C !important;
}

a.e-show-coupon-form {
    font-family: DINNeuzeitGrotesk LT Light;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.05em;
    text-decoration: underline;
    text-decoration-style: solid;
}

.e-woocommerce-coupon-nudge.e-checkout-secondary-title {
    margin: 0;
}

.e-coupon-anchor {
    margin: 0 !important;
}
.e-coupon-anchor input#coupon_code {
    border-color: #fff !important;
    color: #fff;
   
}

button.woocommerce-button.button.e-apply-coupon {
    font-family: "DINNeuzeitGrotesk LT Light", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: #00794D;
    border: 1px solid #00794D;
    color: #fff;
	border-radius:0;
	 padding: 12px 10px;
}

button.woocommerce-button.button.e-apply-coupon:hover {
	background: transparent !important;
	color: #fff !important;
	border: 1px solid #fff;
}

.woocommerce-checkout #customer_details {
    background: #FEFEF3;
    border-color: #81817B26;
    border-radius: 7px;
    border-style: solid;
    border-width: 1px;
    display: block;
    margin: 0;
    padding: 20px;
}

.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2, .woocommerce-checkout #customer_details .shipping_address, .woocommerce-checkout .woocommerce-additional-fields {
    background: transparent !important;
    border-radius: 0 !important;
    display: block;
    margin: 0;
    padding: 0 !important;
    border: none !important;
}

.e-woocommerce-login-section {
    --sections-background-color: #81817B;
    --sections-border-type: solid;
    border-width: 1px 1px 1px 1px;
    --sections-border-color: #81817B26;
    --sections-border-radius: 7px 7px 7px 7px;
    --sections-padding: 20px;
    --links-normal-color: #FFFFFF;
    --links-hover-color: var(--e-global-color-secondary);
}

.e-woocommerce-login-section .woocommerce-form-login-toggle.e-checkout-secondary-title {
    font-family: "Playfair Display", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}

.e-woocommerce-login-section .woocommerce-form-login-toggle.e-checkout-secondary-title a.e-show-login {
    font-family: DINNeuzeitGrotesk LT Light;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.05em;
    text-decoration: underline;
    text-decoration-style: solid;
}

.e-woocommerce-login-section p.e-woocommerce-login-nudge.e-description {
    color: #fff !important;
}

.e-woocommerce-login-section .e-login-wrap label{
	color: #fff !important;
}

.e-woocommerce-login-section .e-login-wrap .input-text{
	border-color: #fff !important;
	color: #fff !important;
}

.e-woocommerce-login-section button.woocommerce-button.button.woocommerce-form-login__submit.e-woocommerce-form-login-submit {
    font-family: "DINNeuzeitGrotesk LT Light", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: #00794D;
    border: 1px solid #00794D;
    color: #fff;
    border-radius: 0;
    padding: 12px 10px;
}

.e-woocommerce-login-section button.woocommerce-button.button.woocommerce-form-login__submit.e-woocommerce-form-login-submit:hover {
	background: transparent !important;
	color: #fff !important;
	border: 1px solid #fff;
}

.e-woocommerce-login-section span.elementor-woocomemrce-login-rememberme {
    color: #fff !important;
}

/* Hide default radio button */
        .checkout.woocommerce-checkout .woocommerce-checkout-payment input[type="radio"] {
            appearance: none;
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border: 1px solid #81817B;
            border-radius: 50%;
            cursor: pointer;
            position: relative;
            flex-shrink: 0;
        }

        /* Inner circle when checked */
        .checkout.woocommerce-checkout .woocommerce-checkout-payment input[type="radio"]:checked::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 14px;
            height: 14px;
            background-color: #81817B;
            border-radius: 50%;
        }

/* Hide default checkbox */
        .checkout.woocommerce-checkout input[type="checkbox"] {
            appearance: none;
            -webkit-appearance: none;
            width: 21px;
            height: 21px;
            border: 1px solid #81817B;
            border-radius: 5px;
            cursor: pointer;
            position: relative;
            flex-shrink: 0;
        }

        /* Checkmark when checked */
        .checkout.woocommerce-checkout input[type="checkbox"]:checked::before {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #81817B;
            font-size: 18px;
            font-weight: 500;
        }

.checkout.woocommerce-checkout #ship-to-different-address {
    padding: 0 !important;
}
.checkout.woocommerce-checkout label.checkbox {
    font-family: 'DINNeuzeitGrotesk LT Light', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 24px !important;
    letter-spacing: 0.05em !important;
    text-transform: none !important;
    color: #81817B !important;
}
.checkout.woocommerce-checkout #order_comments_field textarea {
    height: 100px;
}

table.shop_table.woocommerce-checkout-review-order-table tr {
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.woocommerce-checkout-review-order-table thead th {
    font-size: 11px;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
}
.woocommerce-checkout-review-order-table .product-total{
	font-size: 12px !important;
	text-align: right;
}

.woocommerce-checkout-review-order-table  .review-order-piechentea-product-variation {
    font-size: 11px;
    color: #81817B;
}
.woocommerce-checkout-review-order-table tfoot td{
	text-align: right;
	font-size: 14px !important;
	white-space: nowrap;
	max-width: 200px !important;
}
.woocommerce-checkout-review-order-table tr.order-total th {
    font-size: 16px !important;
	font-family: "DINNeuzeitGrotesk LT BoldCond", sans-serif !important;
}

.woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 26px !important;
	font-family: "DINNeuzeitGrotesk LT BoldCond", sans-serif !important;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li label {
    color: #181818 !important;
}

/* ============================================
   Coupon Remove Link with Icon
   ============================================ */
.woocommerce-remove-coupon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 8px;
	text-decoration: none;
	transition: opacity 0.3s ease;
	vertical-align: middle;
}

.woocommerce-remove-coupon:hover {
	opacity: 0.7;
}


/* Style for cart discount row */
.cart-discount .woocommerce-remove-coupon {
	margin-left: 5px;
}

.cart-discount a.woocommerce-remove-coupon {
    height: 12px;
    width: 12px;
}

.cart-discount.coupon-coupon td {
    display: flex;
    align-items: center;
}

/* Responsive Thank You Page */
@media (max-width: 768px) {
	.piechentea-thankyou {
		padding: 20px 15px;
	}
	
	.piechentea-thankyou-title {
		font-size: 28px;
	}
	
	.piechentea-order-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	
	.piechentea-order-item {
		flex-wrap: wrap;
		gap: 15px;
	}
	
	.piechentea-order-item-image {
		width: 60px;
		height: 60px;
	}
	
	.piechentea-order-item-price {
		width: 100%;
		text-align: left;
		margin-top: 10px;
	}
}

/* ============================================
   Variation Add to Cart Notice
   ============================================ */

.piechentea-added-notice {
	margin-top: 10px;
	padding: 10px 15px;
	background-color: #dff0d8;
	border: 1px solid #d0e9c6;
	border-radius: 4px;
	color: #3c763d;
	font-size: 14px;
	text-align: center;
    font-family: "DINNeuzeitGrotesk LT Light", Sans-serif;
}

.piechentea-added-notice .piechentea-view-cart-link {
	color: #3c763d;
	text-decoration: underline;
	font-weight: normal;
	margin-left: 5px;
	transition: opacity 0.2s;
}

.piechentea-added-notice .piechentea-view-cart-link:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.add-to-cart-variation-btn.added-to-cart .elementor-button {
	background-color: #5cb85c;
	border-color: #4cae4c;
}

.add-to-cart-variation-btn.loading .elementor-button {
	opacity: 0.7;
	cursor: wait;
}

.add-to-cart-variation-btn.disabled {
	pointer-events: none;
}

.add-to-cart-variation-btn.disabled .elementor-button,
.add-to-cart-variation-btn.disabled .elementor-button:hover {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}