.cart_item .product-name .discount-badge {
display: inline-block;
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
color: #fff;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
padding: 4px 10px;
border-radius: 3px;
margin-left: 8px;
letter-spacing: 0.5px;
box-shadow: 0 2px 4px rgba(238, 90, 111, 0.3);
animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
0%, 100% {
transform: scale(1);
box-shadow: 0 2px 4px rgba(238, 90, 111, 0.3);
}
50% {
transform: scale(1.05);
box-shadow: 0 3px 6px rgba(238, 90, 111, 0.4);
}
} .cart_item .product-price .price-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.cart_item .product-price .original-price {
text-decoration: line-through;
color: #999;
font-size: 0.85em;
font-weight: 400;
}
.cart_item .product-price .discounted-price {
color: #ff6b6b;
font-weight: 700;
font-size: 1.1em;
}
.cart_item .product-price .discount-amount {
color: #4caf50;
font-size: 0.75em;
font-weight: 600;
} .cart_item .product-subtotal .price-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.cart_item .product-subtotal .original-subtotal {
text-decoration: line-through;
color: #999;
font-size: 0.85em;
font-weight: 400;
}
.cart_item .product-subtotal .discounted-subtotal {
color: #ff6b6b;
font-weight: 700;
font-size: 1.1em;
} .cart-discount-notice {
background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
border-left: 4px solid #ff6b6b;
padding: 12px 16px;
margin: 15px 0;
border-radius: 4px;
display: flex;
align-items: center;
gap: 12px;
}
.cart-discount-notice .discount-icon {
font-size: 24px;
color: #ff6b6b;
}
.cart-discount-notice .discount-text {
flex: 1;
color: #333;
font-size: 14px;
line-height: 1.5;
}
.cart-discount-notice .discount-text strong {
color: #ff6b6b;
font-weight: 700;
} .cart_item.has-discount {
background-color: #fff9f9;
border-left: 3px solid #ff6b6b;
padding-left: 10px;
transition: all 0.3s ease;
}
.cart_item.has-discount:hover {
background-color: #fff5f5;
box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
} .cart_totals .shop_table .cart-discount {
background-color: #fff5f5;
}
.cart_totals .shop_table .cart-discount th,
.cart_totals .shop_table .cart-discount td {
color: #ff6b6b;
font-weight: 700;
} .woocommerce-mini-cart-item.has-discount .product-name::after {
content: "50% OFF";
display: inline-block;
background: #ff6b6b;
color: #fff;
font-size: 9px;
font-weight: 700;
padding: 2px 6px;
border-radius: 2px;
margin-left: 6px;
text-transform: uppercase;
} @media (max-width: 768px) {
.cart_item .product-price .price-wrapper,
.cart_item .product-subtotal .price-wrapper {
align-items: flex-start;
}
.cart-discount-notice {
flex-direction: column;
text-align: center;
}
.cart_item .product-name .discount-badge {
display: block;
margin: 8px 0 0 0;
width: fit-content;
}
} @keyframes discount-applied {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.05);
opacity: 0.9;
}
100% {
transform: scale(1);
opacity: 1;
}
}
.cart_item.has-discount {
animation: discount-applied 0.5s ease-out;
} .discount-rule-message {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
padding: 10px 15px;
border-radius: 5px;
margin: 10px 0;
text-align: center;
font-weight: 600;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.discount-rule-message::before {
content: "🎉 ";
margin-right: 5px;
} .cart-discount-info-banner {
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
border-left: 4px solid #2196f3;
padding: 15px 20px;
margin: 0 0 20px 0;
border-radius: 6px;
display: flex;
align-items: center;
gap: 15px;
box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
animation: slide-in-info 0.4s ease-out;
}
@keyframes slide-in-info {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.cart-discount-info-banner .info-icon {
font-size: 32px;
line-height: 1;
flex-shrink: 0;
}
.cart-discount-info-banner .info-content {
flex: 1;
color: #1565c0;
font-size: 14px;
line-height: 1.6;
}
.cart-discount-info-banner .info-content strong {
color: #0d47a1;
font-weight: 700;
display: block;
margin-bottom: 4px;
font-size: 1.05em;
}  .woocommerce-checkout-review-order-table tbody .cart_item.has-discount {
background-color: #fff9f9;
border-left: 3px solid #ff6b6b;
}
.woocommerce-checkout-review-order-table tbody .cart_item.has-discount:hover {
background-color: #fff5f5;
} .woocommerce-checkout-review-order-table .product-name-wrapper {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.woocommerce-checkout-review-order-table .product-name .discount-badge {
display: inline-block;
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
color: #fff;
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
padding: 3px 8px;
border-radius: 3px;
letter-spacing: 0.5px;
box-shadow: 0 2px 4px rgba(238, 90, 111, 0.3);
} .woocommerce-checkout-review-order-table .product-total .price-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 3px;
}
.woocommerce-checkout-review-order-table .product-total .original-subtotal {
text-decoration: line-through;
color: #999;
font-size: 0.85em;
font-weight: 400;
}
.woocommerce-checkout-review-order-table .product-total .discounted-subtotal {
color: #ff6b6b;
font-weight: 700;
font-size: 1.05em;
}
.woocommerce-checkout-review-order-table .product-total .discount-amount {
color: #4caf50;
font-size: 0.75em;
font-weight: 600;
} .woocommerce-checkout-review-order-table .cart-discount.discount-rule-applied {
background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
border-top: 2px solid #ff6b6b;
border-bottom: 2px solid #ff6b6b;
}
.woocommerce-checkout-review-order-table .cart-discount.discount-rule-applied th {
color: #ff6b6b;
font-weight: 700;
padding: 12px 15px;
}
.woocommerce-checkout-review-order-table .cart-discount.discount-rule-applied td {
padding: 12px 15px;
}
.woocommerce-checkout-review-order-table .discount-label {
display: flex;
align-items: center;
gap: 8px;
color: #ff6b6b;
font-weight: 700;
}
.woocommerce-checkout-review-order-table .discount-amount-total {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.woocommerce-checkout-review-order-table .discount-value {
color: #ff6b6b;
font-weight: 700;
font-size: 1.1em;
}
.woocommerce-checkout-review-order-table .discount-description {
color: #666;
font-size: 0.85em;
font-style: italic;
} .woocommerce-checkout-review-order-table tfoot .cart-subtotal td .price-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td .original-subtotal {
text-decoration: line-through;
color: #999;
font-size: 0.9em;
font-weight: 400;
}
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td .discounted-subtotal {
color: #333;
font-weight: 600;
font-size: 1.05em;
} .woocommerce-checkout-review-order-table .order-total {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-top: 3px solid #ff6b6b;
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
font-size: 1.2em;
font-weight: 700;
padding: 15px;
color: #333;
}
.woocommerce-checkout-review-order-table .order-total-amount {
color: #ff6b6b !important;
font-size: 1.3em !important;
} .woocommerce-checkout-review-order-table {
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.woocommerce-checkout-review-order-table thead {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
}
.woocommerce-checkout-review-order-table thead th {
color: #fff;
font-weight: 700;
padding: 15px;
text-transform: uppercase;
font-size: 0.9em;
letter-spacing: 0.5px;
}
.woocommerce-checkout-review-order-table tbody tr {
transition: all 0.3s ease;
}
.woocommerce-checkout-review-order-table tbody tr:hover {
background-color: #f8f9fa;
}
.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot td {
padding: 12px 15px;
}
.woocommerce-checkout-review-order-table tfoot tr {
border-top: 1px solid #e9ecef;
} .checkout-discount-banner {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
padding: 12px 18px;
border-radius: 6px;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 12px;
box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
animation: slide-in-banner 0.5s ease-out;
}
@keyframes slide-in-banner {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.checkout-discount-banner .banner-icon {
font-size: 28px;
line-height: 1;
}
.checkout-discount-banner .banner-content {
flex: 1;
font-size: 14px;
line-height: 1.5;
}
.checkout-discount-banner .banner-content strong {
font-weight: 700;
font-size: 1.05em;
} .checkout-order-card {
width: 100%;
box-sizing: border-box;
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}
.checkout-order-card #order_review,
.checkout-order-card .woocommerce-checkout-review-order {
width: 100%;
}
.checkout-order-card .woocommerce-checkout-review-order-table {
width: 100%;
margin: 0;
box-shadow: none;
border-radius: 0;
} .checkout-order-card #order_review_heading {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
padding: 15px 20px;
margin: 0;
border-radius: 0;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
font-size: 1.1em;
box-shadow: none;
width: 100%;
box-sizing: border-box;
} @media (max-width: 768px) {
.woocommerce-checkout-review-order-table .product-total .price-wrapper,
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td .price-wrapper {
align-items: flex-start;
}
.checkout-discount-banner {
flex-direction: column;
text-align: center;
padding: 10px 15px;
}
.woocommerce-checkout-review-order-table .product-name-wrapper {
flex-direction: column;
align-items: flex-start;
}
.woocommerce-checkout-review-order-table .product-name .discount-badge {
margin-top: 5px;
}
#order_review_heading {
margin: -15px -15px 15px -15px;
padding: 12px 15px;
font-size: 1em;
}
}.cart_item .product-name .discount-badge {
display: inline-block;
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
color: #fff;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
padding: 4px 10px;
border-radius: 3px;
margin-left: 8px;
letter-spacing: 0.5px;
box-shadow: 0 2px 4px rgba(238, 90, 111, 0.3);
animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
0%, 100% {
transform: scale(1);
box-shadow: 0 2px 4px rgba(238, 90, 111, 0.3);
}
50% {
transform: scale(1.05);
box-shadow: 0 3px 6px rgba(238, 90, 111, 0.4);
}
} .cart_item .product-price .price-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.cart_item .product-price .original-price {
text-decoration: line-through;
color: #999;
font-size: 0.85em;
font-weight: 400;
}
.cart_item .product-price .discounted-price {
color: #ff6b6b;
font-weight: 700;
font-size: 1.1em;
}
.cart_item .product-price .discount-amount {
color: #4caf50;
font-size: 0.75em;
font-weight: 600;
} .cart_item .product-subtotal .price-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.cart_item .product-subtotal .original-subtotal {
text-decoration: line-through;
color: #999;
font-size: 0.85em;
font-weight: 400;
}
.cart_item .product-subtotal .discounted-subtotal {
color: #ff6b6b;
font-weight: 700;
font-size: 1.1em;
} .cart-discount-notice {
background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
border-left: 4px solid #ff6b6b;
padding: 12px 16px;
margin: 15px 0;
border-radius: 4px;
display: flex;
align-items: center;
gap: 12px;
}
.cart-discount-notice .discount-icon {
font-size: 24px;
color: #ff6b6b;
}
.cart-discount-notice .discount-text {
flex: 1;
color: #333;
font-size: 14px;
line-height: 1.5;
}
.cart-discount-notice .discount-text strong {
color: #ff6b6b;
font-weight: 700;
} .cart_item.has-discount {
background-color: #fff9f9;
border-left: 3px solid #ff6b6b;
padding-left: 10px;
transition: all 0.3s ease;
}
.cart_item.has-discount:hover {
background-color: #fff5f5;
box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
} .cart_totals .shop_table .cart-discount {
background-color: #fff5f5;
}
.cart_totals .shop_table .cart-discount th,
.cart_totals .shop_table .cart-discount td {
color: #ff6b6b;
font-weight: 700;
} .woocommerce-mini-cart-item.has-discount .product-name::after {
content: "50% OFF";
display: inline-block;
background: #ff6b6b;
color: #fff;
font-size: 9px;
font-weight: 700;
padding: 2px 6px;
border-radius: 2px;
margin-left: 6px;
text-transform: uppercase;
} @media (max-width: 768px) {
.cart_item .product-price .price-wrapper,
.cart_item .product-subtotal .price-wrapper {
align-items: flex-start;
}
.cart-discount-notice {
flex-direction: column;
text-align: center;
}
.cart_item .product-name .discount-badge {
display: block;
margin: 8px 0 0 0;
width: fit-content;
}
} @keyframes discount-applied {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.05);
opacity: 0.9;
}
100% {
transform: scale(1);
opacity: 1;
}
}
.cart_item.has-discount {
animation: discount-applied 0.5s ease-out;
} .discount-rule-message {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
padding: 10px 15px;
border-radius: 5px;
margin: 10px 0;
text-align: center;
font-weight: 600;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.discount-rule-message::before {
content: "🎉 ";
margin-right: 5px;
} .cart-discount-info-banner {
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
border-left: 4px solid #2196f3;
padding: 15px 20px;
margin: 0 0 20px 0;
border-radius: 6px;
display: flex;
align-items: center;
gap: 15px;
box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
animation: slide-in-info 0.4s ease-out;
}
@keyframes slide-in-info {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.cart-discount-info-banner .info-icon {
font-size: 32px;
line-height: 1;
flex-shrink: 0;
}
.cart-discount-info-banner .info-content {
flex: 1;
color: #1565c0;
font-size: 14px;
line-height: 1.6;
}
.cart-discount-info-banner .info-content strong {
color: #0d47a1;
font-weight: 700;
display: block;
margin-bottom: 4px;
font-size: 1.05em;
}  .woocommerce-checkout-review-order-table tbody .cart_item.has-discount {
background-color: #fff9f9;
border-left: 3px solid #ff6b6b;
}
.woocommerce-checkout-review-order-table tbody .cart_item.has-discount:hover {
background-color: #fff5f5;
} .woocommerce-checkout-review-order-table .product-name-wrapper {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.woocommerce-checkout-review-order-table .product-name .discount-badge {
display: inline-block;
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
color: #fff;
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
padding: 3px 8px;
border-radius: 3px;
letter-spacing: 0.5px;
box-shadow: 0 2px 4px rgba(238, 90, 111, 0.3);
} .woocommerce-checkout-review-order-table .product-total .price-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 3px;
}
.woocommerce-checkout-review-order-table .product-total .original-subtotal {
text-decoration: line-through;
color: #999;
font-size: 0.85em;
font-weight: 400;
}
.woocommerce-checkout-review-order-table .product-total .discounted-subtotal {
color: #ff6b6b;
font-weight: 700;
font-size: 1.05em;
}
.woocommerce-checkout-review-order-table .product-total .discount-amount {
color: #4caf50;
font-size: 0.75em;
font-weight: 600;
} .woocommerce-checkout-review-order-table .cart-discount.discount-rule-applied {
background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
border-top: 2px solid #ff6b6b;
border-bottom: 2px solid #ff6b6b;
}
.woocommerce-checkout-review-order-table .cart-discount.discount-rule-applied th {
color: #ff6b6b;
font-weight: 700;
padding: 12px 15px;
}
.woocommerce-checkout-review-order-table .cart-discount.discount-rule-applied td {
padding: 12px 15px;
}
.woocommerce-checkout-review-order-table .discount-label {
display: flex;
align-items: center;
gap: 8px;
color: #ff6b6b;
font-weight: 700;
}
.woocommerce-checkout-review-order-table .discount-amount-total {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.woocommerce-checkout-review-order-table .discount-value {
color: #ff6b6b;
font-weight: 700;
font-size: 1.1em;
}
.woocommerce-checkout-review-order-table .discount-description {
color: #666;
font-size: 0.85em;
font-style: italic;
} .woocommerce-checkout-review-order-table tfoot .cart-subtotal td .price-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td .original-subtotal {
text-decoration: line-through;
color: #999;
font-size: 0.9em;
font-weight: 400;
}
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td .discounted-subtotal {
color: #333;
font-weight: 600;
font-size: 1.05em;
} .woocommerce-checkout-review-order-table .order-total {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-top: 3px solid #ff6b6b;
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
font-size: 1.2em;
font-weight: 700;
padding: 15px;
color: #333;
}
.woocommerce-checkout-review-order-table .order-total-amount {
color: #ff6b6b !important;
font-size: 1.3em !important;
} .woocommerce-checkout-review-order-table {
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.woocommerce-checkout-review-order-table thead {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
}
.woocommerce-checkout-review-order-table thead th {
color: #fff;
font-weight: 700;
padding: 15px;
text-transform: uppercase;
font-size: 0.9em;
letter-spacing: 0.5px;
}
.woocommerce-checkout-review-order-table tbody tr {
transition: all 0.3s ease;
}
.woocommerce-checkout-review-order-table tbody tr:hover {
background-color: #f8f9fa;
}
.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot td {
padding: 12px 15px;
}
.woocommerce-checkout-review-order-table tfoot tr {
border-top: 1px solid #e9ecef;
} .checkout-discount-banner {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
padding: 12px 18px;
border-radius: 6px;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 12px;
box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
animation: slide-in-banner 0.5s ease-out;
}
@keyframes slide-in-banner {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.checkout-discount-banner .banner-icon {
font-size: 28px;
line-height: 1;
}
.checkout-discount-banner .banner-content {
flex: 1;
font-size: 14px;
line-height: 1.5;
}
.checkout-discount-banner .banner-content strong {
font-weight: 700;
font-size: 1.05em;
} .checkout-order-card {
width: 100%;
box-sizing: border-box;
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}
.checkout-order-card #order_review,
.checkout-order-card .woocommerce-checkout-review-order {
width: 100%;
}
.checkout-order-card .woocommerce-checkout-review-order-table {
width: 100%;
margin: 0;
box-shadow: none;
border-radius: 0;
} .checkout-order-card #order_review_heading {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
padding: 15px 20px;
margin: 0;
border-radius: 0;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
font-size: 1.1em;
box-shadow: none;
width: 100%;
box-sizing: border-box;
} @media (max-width: 768px) {
.woocommerce-checkout-review-order-table .product-total .price-wrapper,
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td .price-wrapper {
align-items: flex-start;
}
.checkout-discount-banner {
flex-direction: column;
text-align: center;
padding: 10px 15px;
}
.woocommerce-checkout-review-order-table .product-name-wrapper {
flex-direction: column;
align-items: flex-start;
}
.woocommerce-checkout-review-order-table .product-name .discount-badge {
margin-top: 5px;
}
#order_review_heading {
margin: -15px -15px 15px -15px;
padding: 12px 15px;
font-size: 1em;
}
}