.chefly-products-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 8px 0;
}
#lbuttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* Custom Login Page Styles */
.chefly-login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    background: #f8f8f8;
    width: 100%;
}

.chefly-login-logo {
    margin-bottom: 30px;
    text-align: center;
    width: 200px;
}

.chefly-login-logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.chefly-login-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    border-top: 4px solid #ff6600;
}

.chefly-login-title {
    color: #333;
    font-size: 24px;
    margin: 0 0 8px 0;
    text-align: center;
}

.chefly-login-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0 0 25px 0;
    text-align: center;
}

.chefly-login-logged-in {
    text-align: center;
    padding: 20px;
}

.chefly-login-logged-in p {
    margin: 0 0 20px 0;
    color: #333;
}

.chefly-login-logout-btn,
.chefly-login-home-btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 5px;
    background: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    width: 200px;
}

.chefly-login-logout-btn:hover,
.chefly-login-home-btn:hover {
    background: #e65c00;
}

.chefly-login-links {
    margin-top: 20px;
    text-align: center;
}

.chefly-login-forgot,
.chefly-login-register {
    display: block;
    margin: 10px 0;
    color: #ff6600;
    text-decoration: none;
    font-size: 14px;
}

.chefly-login-forgot:hover,
.chefly-login-register:hover {
    text-decoration: underline;
}

/* WordPress Login Form Styling */
#chefly-login-form {
    margin: 0;
}

#chefly-login-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

#chefly-login-form input[type="text"],
#chefly-login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    box-sizing: border-box;
}

#chefly-login-form input[type="text"]:focus,
#chefly-login-form input[type="password"]:focus {
    outline: none;
    border-color: #ff6600;
}

#chefly-login-form .login-remember {
    margin-bottom: 20px;
}

#chefly-login-form .login-remember label {
    display: flex;
    align-items: center;
    font-weight: 400;
}

#chefly-login-form .login-remember input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6600;
    cursor: pointer;
    margin-right: 10px;
}

#chefly-login-form .button-primary {
    width: 100%;
    padding: 14px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

#chefly-login-form .button-primary:hover {
    background: #e65c00;
}

.chefly-product-card {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.chefly-product-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.chefly-product-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    flex-shrink: 0;
}

.chefly-product-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.chefly-product-info {
    padding: 10px 10px 10px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chefly-product-title {
    margin: 0 0 4px 0;
    font-size: 1em;
    color: #333;
    font-weight: 600;
}

.chefly-product-description {
    margin: 0 0 6px 0;
    color: #666;
    line-height: 1.3;
    font-size: 0.85em;
}

.chefly-product-price {
    font-size: 1.1em;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 6px;
}

.chefly-product-sides {
    margin-bottom: 6px;
    padding: 6px;
    background: #f9f9f9;
    border-radius: 4px;
}

.chefly-product-sides {
    margin-bottom: 6px;
    padding: 6px;
    background: #f9f9f9;
    border-radius: 4px;
}

.chefly-sides-button {
    width: 100%;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85em;
    color: #333;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chefly-sides-button:hover {
    background: #f5f5f5;
}

.chefly-sides-button span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chefly-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.chefly-lightbox.active {
    display: flex;
}

.chefly-lightbox-container {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.chefly-lightbox-close span {
  display: flex;
  height: 20px;
  line-height: 15px;
}
.chefly-lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  height: 30px;
  width: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  padding: 0;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chefly-lightbox-close:hover {
    background: #fff;
}
.chefly-lightbox-close:hover span {
    color: #cc5200;
}


.chefly-lightbox-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.chefly-lightbox-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chefly-lightbox-content {
    padding: 20px;
}

.chefly-lightbox-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.chefly-lightbox-description {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.chefly-lightbox-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 20px;
}

.chefly-lightbox-sides {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.chefly-lightbox-sides-group {
    background: #fff;}

.chefly-lightbox-sides-group.is-missing {
    border-color: #ff4d4f;
}

.chefly-lightbox-sides-group.has-max .chefly-lightbox-side-option:not(.is-selected) {
    opacity: 0.5;
}

.chefly-lightbox-sides-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.chefly-lightbox-sides-heading h4 {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chefly-lightbox-set-restrictions {
    font-size: 0.85em;
    color: #333;
}

.chefly-lightbox-sides-group .chefly-lightbox-sides-list {
    margin-top: 12px;
}

.chefly-lightbox-sides-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chefly-lightbox-side-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.chefly-lightbox-side-option:hover {
    background: #f7f7f7;
}

.chefly-lightbox-side-option.is-selected {
  border: 1px solid #ff660061 !important;
}
.chefly-lightbox-side-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
}

.chefly-lightbox-side-title {
    font-size: 0.95em;
    color: #333;
    font-weight: 500;
}

.chefly-lightbox-required-pill {
	background: #ff000030;
	padding: 3px 6px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 5px;
	color: #000;
	letter-spacing: 0.5px;
}
.chefly-lightbox-side-price {
    font-size: 0.9em;
    color: #ff6600;
    font-weight: 600;
}

.chefly-lightbox-side-free {
    font-size: 0.9em;
    color: #28a745;
    font-weight: 600;
}

.chefly-side-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chefly-side-qty-btn {
	width: 20px !important;
	height: 20px !important;
	border-radius: 50% !important;
	border: none !important;
	-moz-animation-moz-animation-moz-animation-moz-animation: #ff6600;
	font-size: 18px !important;
	line-height: 1;
	display: flex !important;
	align-items: center !important;
	justify-content: center;
	cursor: pointer !important;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	background: transparent !important;
	color: #000 !important;
	box-shadow: none !important;
}
.chefly-side-qty-btn:focus, .chefly-side-qty-btn:active {
    background: inherit !important;
}
.chefly-side-qty-btn:hover:not(:disabled) {
    color: #ff6600;
}

.chefly-side-qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.chefly-side-qty-btn span {
    font-weight: 600;
    display: inline-block;
}


.chefly-side-qty-input {
    width: 48px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    font-size: 0.95em;
    color: #333;
  border: 1px solid #999 !important;
  padding: 5px !important;
}
.chefly-side-qty-btn:hover span,
.chefly-side-qty-input:focus {
    outline: none;
    color: #ff6600;
}

.chefly-lightbox-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.chefly-lightbox-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
}

.chefly-lightbox-quantity-label {
    font-size: 0.95em;
    color: #333;
    font-weight: 500;
}

.chefly-lightbox-quantity-input {
  width: 70px;
  height: 52px;
  padding: 8px;
  border: 1px solid #ddd !important;
  border-radius: 10px 0 0 10px !important;
  font-size: 1em;
  text-align: center;
  max-height: 31px;
}
.chefly-lightbox-quantity-input:focus {
    outline: none;
    border-color: #ff6600;
}

.chefly-lightbox-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: bold;
}

.chefly-lightbox-actions {
    display: flex;
    align-items: center;
    gap: 0px;
}

.chefly-lightbox-total-label {
    color: #333;
}

.chefly-lightbox-total-price {
    color: #ff6600;
}

.chefly-lightbox-add-cart {
    flex: 1;
    padding: 14px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0 !important;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chefly-lightbox-add-cart:hover {
    background: #e65c00;
}

/* Theme 1: Light (White background, dark fonts) */
.chefly-theme-1 .chefly-lightbox-container {
    background: #fff;
}

.chefly-theme-1 .chefly-lightbox-title {
    color: #333;
}

.chefly-theme-1 .chefly-lightbox-description {
    color: #666;
}

.chefly-theme-1 .chefly-lightbox-price,
.chefly-theme-1 .chefly-lightbox-total-price,
.chefly-theme-1 .chefly-lightbox-side-price {
    color: #ff6600;
}

.chefly-theme-1 .chefly-lightbox-sides h4,
.chefly-theme-1 .chefly-lightbox-side-title,
.chefly-theme-1 .chefly-lightbox-total-label {
    color: #333;
}

.chefly-theme-1 .chefly-lightbox-side-option {
    background: #fff;
    border-color: #eee;
}

.chefly-theme-1 .chefly-lightbox-side-option:hover {
  background: #ff66000a;
}

.chefly-theme-1 .chefly-lightbox-footer {
    border-top-color: #eee;
}

.chefly-theme-1 .chefly-lightbox-add-cart {
    background: #ff6600;
}

.chefly-theme-1 .chefly-lightbox-add-cart:hover {
    background: #e65c00;
}

/* Theme 2: Black */
.chefly-theme-2 .chefly-lightbox-container {
    background: #1a1a1a;
}

.chefly-theme-2 .chefly-lightbox-title {
    color: #fff;
}

.chefly-theme-2 .chefly-lightbox-description {
    color: #ccc;
}

.chefly-theme-2 .chefly-lightbox-price,
.chefly-theme-2 .chefly-lightbox-total-price,
.chefly-theme-2 .chefly-lightbox-side-price {
    color: #ff6600;
}

.chefly-theme-2 .chefly-lightbox-sides {
    background: #2a2a2a;
}

.chefly-theme-2 .chefly-lightbox-sides h4,
.chefly-theme-2 .chefly-lightbox-side-title,
.chefly-theme-2 .chefly-lightbox-total-label {
    color: #fff;
}

.chefly-theme-2 .chefly-lightbox-side-option {
    background: #333;
    border-color: #444;
}

.chefly-theme-2 .chefly-lightbox-side-option:hover {
    background: #444;
}

.chefly-theme-2 .chefly-lightbox-footer {
    border-top-color: #333;
}

.chefly-theme-2 .chefly-lightbox-add-cart {
    background: #ff6600;
}

.chefly-theme-2 .chefly-lightbox-add-cart:hover {
    background: #e65c00;
}

/* Theme 3: Dark Blue */
.chefly-theme-3 .chefly-lightbox-container {
    background: #0a1929;
}

.chefly-theme-3 .chefly-lightbox-title {
    color: #fff;
}

.chefly-theme-3 .chefly-lightbox-description {
    color: #b3c5d1;
}

.chefly-theme-3 .chefly-lightbox-price,
.chefly-theme-3 .chefly-lightbox-total-price,
.chefly-theme-3 .chefly-lightbox-side-price {
    color: #64b5f6;
}

.chefly-theme-3 .chefly-lightbox-sides {
    background: #1e3a5f;
}

.chefly-theme-3 .chefly-lightbox-sides h4,
.chefly-theme-3 .chefly-lightbox-side-title,
.chefly-theme-3 .chefly-lightbox-total-label {
    color: #fff;
}

.chefly-theme-3 .chefly-lightbox-side-option {
    background: #1e3a5f;
    border-color: #2a4a6f;
}

.chefly-theme-3 .chefly-lightbox-side-option:hover {
    background: #2a4a6f;
}

.chefly-theme-3 .chefly-lightbox-footer {
    border-top-color: #1e3a5f;
}

.chefly-theme-3 .chefly-lightbox-add-cart {
    background: #64b5f6;
    color: #0a1929;
}

.chefly-theme-3 .chefly-lightbox-add-cart:hover {
    background: #42a5f5;
}

/* Theme 4: Brown */
.chefly-theme-4 .chefly-lightbox-container {
    background: #fff8e1;
}

.chefly-theme-4 .chefly-lightbox-title {
    color: #5d4037;
}

.chefly-theme-4 .chefly-lightbox-description {
    color: #8d6e63;
}

.chefly-theme-4 .chefly-lightbox-price,
.chefly-theme-4 .chefly-lightbox-total-price,
.chefly-theme-4 .chefly-lightbox-side-price {
    color: #d4a574;
}

.chefly-theme-4 .chefly-lightbox-sides {
    background: #ffe0b2;
}

.chefly-theme-4 .chefly-lightbox-sides h4,
.chefly-theme-4 .chefly-lightbox-side-title,
.chefly-theme-4 .chefly-lightbox-total-label {
    color: #5d4037;
}

.chefly-theme-4 .chefly-lightbox-side-option {
    background: #fff8e1;
    border-color: #d4a574;
}

.chefly-theme-4 .chefly-lightbox-side-option:hover {
    background: #ffe0b2;
}

.chefly-theme-4 .chefly-lightbox-footer {
    border-top-color: #d4a574;
}

.chefly-theme-4 .chefly-lightbox-add-cart {
    background: #d4a574;
}

.chefly-theme-4 .chefly-lightbox-add-cart:hover {
    background: #c49464;
}

/* Theme 5: Light Green */
.chefly-theme-5 .chefly-lightbox-container {
    background: #f1f8e9;
}

.chefly-theme-5 .chefly-lightbox-title {
    color: #2e7d32;
}

.chefly-theme-5 .chefly-lightbox-description {
    color: #4caf50;
}

.chefly-theme-5 .chefly-lightbox-price,
.chefly-theme-5 .chefly-lightbox-total-price,
.chefly-theme-5 .chefly-lightbox-side-price {
    color: #66bb6a;
}

.chefly-theme-5 .chefly-lightbox-sides {
    background: #dcedc8;
}

.chefly-theme-5 .chefly-lightbox-sides h4,
.chefly-theme-5 .chefly-lightbox-side-title,
.chefly-theme-5 .chefly-lightbox-total-label {
    color: #2e7d32;
}

.chefly-theme-5 .chefly-lightbox-side-option {
    background: #f1f8e9;
    border-color: #81c784;
}

.chefly-theme-5 .chefly-lightbox-side-option:hover {
    background: #dcedc8;
}

.chefly-theme-5 .chefly-lightbox-footer {
    border-top-color: #81c784;
}

.chefly-theme-5 .chefly-lightbox-add-cart {
    background: #66bb6a;
}

.chefly-theme-5 .chefly-lightbox-add-cart:hover {
    background: #4caf50;
}

.chefly-floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #ff6600;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.chefly-floating-cart:hover {
    transform: scale(1.1);
    background: #e65c00;
}

.chefly-floating-cart-icon {
    font-size: 24px;
    position: relative;
    width: 32px;
    height: 32px;
}

.chefly-floating-cart-icon svg {
    width: 100%;
    height: 100%;
}

.chefly-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #ff6600;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chefly-cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.chefly-cart-modal.active {
    display: block;
}

.chefly-cart-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.chefly-cart-modal-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
}

.chefly-cart-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chefly-cart-modal-close:hover {
  color: #333;
  background: transparent;
}

.chefly-cart-modal-content {
    padding: 20px;
}

.chefly-cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.chefly-cart-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ccc;
}

.chefly-cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chefly-cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.chefly-cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.chefly-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chefly-cart-item-info {
    flex: 1;
}

.chefly-cart-item-title {
    font-size: 1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.chefly-cart-item-quantity {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}
.shop_table.woocommerce-checkout-review-order-table thead {
    display: none;
}
.chefly-cart-item .chefly-cart-item-sides {
  font-size: 0.85em !important;
  color: #555 !important;
  margin-bottom: 8px !important;
}
.chefly-cart-item-price {
    font-size: 1em;
    font-weight: bold;
    color: #e65c00;
}
.woocommerce-checkout-review-order-table, .woocommerce-table--order-details {
    box-shadow: none !important;
}
.chefly-cart-item-remove {
    background: transparent !important;
    border: none;
    color: #e65c00;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.2s ease;
}

.chefly-cart-item-remove:hover {
  color: #000;
  background: transparent !important;
}

.chefly-cart-modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    position: sticky;
    bottom: 0;
    background: #fff;
}

.chefly-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

.chefly-cart-total-label {
    color: #333;
}

.chefly-cart-total-price {
    color: #ff6600;
}

.chefly-cart-checkout {
    width: 100%;
    padding: 14px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.place-order,
#payment {
    padding: 0 !important;
}
.payment_methods,
.payment_method_cod {
    display: none !important;
}

.chefly-cart-checkout:hover {
    background: #e65c00;
}
.chefly-cart-checkout:focus {
    background: #333;
}
.chefly-cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.chefly-cart-overlay.active {
    display: block;
}

.chefly-notification {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #28a745;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

.chefly-notification.active {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chefly-notification-icon {
    font-size: 24px;
}

.chefly-notification-content {
    flex: 1;
}

.chefly-notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 1em;
}

.chefly-notification-message {
    font-size: 0.9em;
    opacity: 0.9;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.chefly-notification.hiding {
    animation: slideOut 0.3s ease;
}

.chefly-floating-cart.bounce {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.chefly-side-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 2px 0;
    font-size: 0.85em;
}

.chefly-side-option input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.chefly-side-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #ff6600;
}

.chefly-side-title {
    flex: 1;
    color: #333;
}

.chefly-side-price {
    color: #ff6600;
    font-weight: 500;
}

.chefly-side-free {
    color: #28a745;
    font-weight: 500;
}

.chefly-product-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-top: 1px solid #eee;
    margin-bottom: 6px;
    font-size: 1em;
    font-weight: bold;
}

.chefly-total-label {
    color: #333;
}

.chefly-total-price {
    color: #ff6600;
}

.chefly-currency {
    color: #333;
}
.chefly-product-price .chefly-currency {
  text-transform: lowercase;
}

.chefly-add-to-cart {
    width: 100%;
    padding: 6px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto;
}

.chefly-add-to-cart:hover {
    background: #e65c00;
}

.chefly-add-to-cart:active {
    background: #cc5200;
}

/* Theme 1: Light (White background, dark fonts) */
.chefly-theme-1 .chefly-product-card {
    background: #fff;
    border-color: #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chefly-theme-1 .chefly-product-title {
    color: #333;
}

.chefly-theme-1 .chefly-product-description {
    color: #666;
}

.chefly-theme-1 .chefly-product-price,
.chefly-theme-1 .chefly-total-price,
.chefly-theme-1 .chefly-side-price {
    color: #ff6600;
}

.chefly-theme-1 .chefly-product-sides {
    background: #f9f9f9;
}

.chefly-theme-1 .chefly-product-sides h4,
.chefly-theme-1 .chefly-side-title,
.chefly-theme-1 .chefly-total-label,
.chefly-theme-1 .chefly-currency {
    color: #333;
}

.chefly-theme-1 .chefly-product-total {
    border-top-color: #eee;
}

.chefly-theme-1 .chefly-add-to-cart {
    background: #ff6600;
    color: #fff;
}

.chefly-theme-1 .chefly-add-to-cart:hover {
    background: #e65c00;
}

.chefly-theme-1 .chefly-add-to-cart:active {
    background: #cc5200;
}

/* Theme 2: Black */
.chefly-theme-2 .chefly-product-card {
    background: #1a1a1a;
    border-color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.chefly-theme-2 .chefly-product-title {
    color: #fff;
}

.chefly-theme-2 .chefly-product-description {
    color: #ccc;
}

.chefly-theme-2 .chefly-product-price,
.chefly-theme-2 .chefly-total-price,
.chefly-theme-2 .chefly-side-price {
    color: #ff6600;
}

.chefly-theme-2 .chefly-product-sides {
    background: #2a2a2a;
}

.chefly-theme-2 .chefly-product-sides h4,
.chefly-theme-2 .chefly-side-title,
.chefly-theme-2 .chefly-total-label,
.chefly-theme-2 .chefly-currency {
    color: #fff;
}

.chefly-theme-2 .chefly-product-total {
    border-top-color: #333;
}

.chefly-theme-2 .chefly-add-to-cart {
    background: #ff6600;
    color: #fff;
}

.chefly-theme-2 .chefly-add-to-cart:hover {
    background: #e65c00;
}

.chefly-theme-2 .chefly-add-to-cart:active {
    background: #cc5200;
}

/* Theme 3: Dark Blue */
.chefly-theme-3 .chefly-product-card {
    background: #0a1929;
    border-color: #1e3a5f;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.woocommerce-additional-fields h3 {
    display: none;
}
.chefly-theme-3 .chefly-product-title {
    color: #fff;
}

.chefly-theme-3 .chefly-product-description {
    color: #b3c5d1;
}
.woocommerce-checkout .site-footer,
.woocommerce-checkout .page-header {
    display: none;
}
.chefly-theme-3 .chefly-product-price,
.chefly-theme-3 .chefly-total-price,
.chefly-theme-3 .chefly-side-price {
    color: #64b5f6;
}


.chefly-theme-3 .chefly-product-sides {
    background: #1e3a5f;
}

.chefly-theme-3 .chefly-product-sides h4,
.chefly-theme-3 .chefly-side-title,
.chefly-theme-3 .chefly-total-label,
.chefly-theme-3 .chefly-currency {
    color: #fff;
}

.chefly-theme-3 .chefly-product-total {
    border-top-color: #1e3a5f;
}

.chefly-theme-3 .chefly-add-to-cart {
    background: #64b5f6;
    color: #0a1929;
}

.chefly-theme-3 .chefly-add-to-cart:hover {
    background: #42a5f5;
}

.chefly-theme-3 .chefly-add-to-cart:active {
    background: #2196f3;
}

/* Theme 4: Brown */
.chefly-theme-4 .chefly-product-card {
    background: #fff8e1;
    border-color: #d4a574;
    box-shadow: 0 2px 5px rgba(212, 165, 116, 0.3);
}

.chefly-theme-4 .chefly-product-title {
    color: #5d4037;
}

.chefly-theme-4 .chefly-product-description {
    color: #8d6e63;
}

.chefly-theme-4 .chefly-product-price,
.chefly-theme-4 .chefly-total-price,
.chefly-theme-4 .chefly-side-price {
    color: #d4a574;
}

.chefly-theme-4 .chefly-product-sides {
    background: #ffe0b2;
}

.chefly-theme-4 .chefly-product-sides h4,
.chefly-theme-4 .chefly-side-title,
.chefly-theme-4 .chefly-total-label,
.chefly-theme-4 .chefly-currency {
    color: #5d4037;
}

.chefly-theme-4 .chefly-product-total {
    border-top-color: #d4a574;
}

.chefly-theme-4 .chefly-add-to-cart {
    background: #d4a574;
    color: #fff;
}

.chefly-theme-4 .chefly-add-to-cart:hover {
    background: #c49464;
}

.chefly-theme-4 .chefly-add-to-cart:active {
    background: #b48354;
}

/* Theme 5: Light Green */
.chefly-theme-5 .chefly-product-card {
    background: #f1f8e9;
    border-color: #81c784;
    box-shadow: 0 2px 5px rgba(129, 199, 132, 0.3);
}

.chefly-theme-5 .chefly-product-title {
    color: #2e7d32;
}

.chefly-theme-5 .chefly-product-description {
    color: #4caf50;
}

.chefly-theme-5 .chefly-product-price,
.chefly-theme-5 .chefly-total-price,
.chefly-theme-5 .chefly-side-price {
    color: #66bb6a;
}

.chefly-theme-5 .chefly-product-sides {
    background: #dcedc8;
}

.chefly-theme-5 .chefly-product-sides h4,
.chefly-theme-5 .chefly-side-title,
.chefly-theme-5 .chefly-total-label,
.chefly-theme-5 .chefly-currency {
    color: #2e7d32;
}

.chefly-theme-5 .chefly-product-total {
    border-top-color: #81c784;
}

.chefly-theme-5 .chefly-add-to-cart {
    background: #66bb6a;
    color: #fff;
}

.chefly-theme-5 .chefly-add-to-cart:hover {
    background: #4caf50;
}

.chefly-theme-5 .chefly-add-to-cart:active {
    background: #388e3c;
}
#order_review_heading {
  display: none !important;
}

#order_review {
  width: 50% !important;
  background: #fff0ea54 !important;
  padding: 40px !important;
}
/* WooCommerce Checkout Page Styling */
body.woocommerce-checkout .woocommerce {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
}

body.woocommerce-checkout .site-header {
    display: none !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="password"]:focus,
.woocommerce-checkout input[type="number"]:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.woocommerce-checkout label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    margin-bottom: 30px;
}

.woocommerce-checkout h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

.woocommerce-checkout button.button,
.woocommerce-checkout input[type="button"],
.woocommerce-checkout input[type="submit"],
.woocommerce-checkout button.button.alt {
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.chefly-inline-coupon-label {
    display: none !important;
    margin-bottom: 0 !important;
}

.woocommerce-checkout button.button:hover,
.woocommerce-checkout input[type="button"]:hover,
.woocommerce-checkout input[type="submit"]:hover,
.woocommerce-checkout button.button.alt:hover {
    background: #e65c00;
}

.woocommerce-checkout button.button:active,
.woocommerce-checkout input[type="button"]:active,
.woocommerce-checkout input[type="submit"]:active,
.woocommerce-checkout button.button.alt:active {
    transform: translateY(0);
}
.checkout.woocommerce-checkout {
  display: flex;
  column-gap: 0px;
  flex-direction: row;
  padding: 0px;
}

#woocommerce-checkout-form-coupon {
  padding: 0;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  display: none !important;
  justify-content: space-between;
}
.chefly-inline-coupon {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
  flex-direction: column;
}
.chefly-inline-coupon-label {
  font-weight: 600;
  color: #cc5200;
  white-space: nowrap;
}
.chefly-inline-coupon-input {
  flex: 1;
}
.woocommerce form .form-row {
  margin: 0 0 15px 0 !important;
}
.woocommerce form .form-row label {
  line-height: 1;
}
.chefly-inline-coupon-input input {
  width: 100% !important;
  padding: 12px 14px;
  border: 1px solid #ffad80 !important;
  border-radius: 0 !important;
  background: #fff !important;
  font-size: 14px !important;
  height: auto !important;
  padding: 8px 12px !important;
  text-align: center;
}
.chefly-inline-coupon button[name="chefly_apply_coupon"] {
  padding: 10px 10px;
  color: #ff6600 !important;
  background-color: transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: underline;
}
#content .order-total {
  width: 100%;
  border-radius: 0;
  background: #fff;
  border-bottom: 0px solid #f60;
  padding: 10px 20px !important;
  font-size: 18px;
}
.woocommerce-remove-coupon {
  margin-left: 5px;
  color: #f60;
}
.cart-discount .woocommerce-Price-amount.amount {
  color: green;
}
.chefly-inline-coupon button[name="chefly_apply_coupon"]:hover {
  background: transparent !important;
  color: #333 !important;
  text-decoration: underline;
}
.chefly-inline-coupon button[name="chefly_apply_coupon"]:active {
  box-shadow: none;
}
.chefly-thankyou-message {
  max-width: 520px;
  margin: 120px auto;
  text-align: center;
  background: #fff;
  padding: 60px 50px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(255, 102, 0, 0.15);
}
.chefly-thankyou-logo {
  width: 140px;
  height: auto;
  margin-bottom: 35px;
}
.chefly-thankyou-message h1 {
  font-size: 32px;
  color: #ff6600;
  margin-bottom: 20px;
  font-weight: 700;
}
.chefly-thankyou-order-number {
  font-size: 20px;
  color: #333;
}
.chefly-thankyou-order-number strong {
  font-size: 22px;
  color: #111;
}
.woocommerce-checkout .woocommerce-checkout-payment {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 30px;
}
.woocommerce-checkout #payment {
  background: transparent !important;
  border-radius: 0 !important;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#order_comments {
  min-height: 100px;
}
.woocommerce-checkout-review-order-table tbody tr, 
.woocommerce-table--order-details tbody tr {
  background: transparent !important;
}
.woocommerce-checkout .payment_methods {
    margin-bottom: 20px;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td,
.woocommerce table.shop_table {
    border: none !important;
    background-color: transparent !important;
}
.woocommerce-checkout .payment_box {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}
.cart_item {
  border-bottom: 1px dashed #ddd !important;
  display: block;
  width: 100% !important;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.cart_item:last-child {
  border-bottom: none !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order {
    background: transparent !important;
    border-radius: 0px;
    padding: 0px !important;
    margin: 0 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    background: #fff;
    font-weight: 600;
    color: #333;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
    text-align: right;
    color: #ff6600;
    font-weight: 600;
}

.woocommerce-checkout .cart-subtotal th,
.woocommerce-checkout .order-total th {
    color: #333;
}

.woocommerce-checkout .cart-subtotal td,
.woocommerce-checkout .order-total td {
    color: #ff6600;
    font-weight: 600;
    text-align: right;
}

.woocommerce-checkout .order-total td {
    font-size: 1.2em;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews,
.no-comments,
.nocomments,
.comment-awaiting-moderation {
    background: #fff3e0;
    border-left: 4px solid #ff6600;
    color: #333;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.woocommerce-info::before,
.woocommerce-message::before {
    color: #ff6600;
}

.woocommerce-error {
    border-left-color: #dc3545;
    background: #ffebee;
}

.woocommerce-error::before {
    color: #dc3545;
}

/* Override WooCommerce blue colors */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews,
.no-comments,
.nocomments,
.comment-awaiting-moderation,
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-form-coupon,
.woocommerce-form-track-order,
.woocommerce-checkout,
.woocommerce-cart,
.woocommerce-account,
.woocommerce-thankyou,
.woocommerce-order-received,
.woocommerce-view-order,
.woocommerce-orders,
.woocommerce-downloads,
.woocommerce-addresses,
.woocommerce-edit-address,
.woocommerce-payment,
.woocommerce-shipping,
.woocommerce-billing,
.woocommerce-order-details,
.woocommerce-customer-details,
.woocommerce-order-downloads,
.woocommerce-order-again,
.woocommerce-terms-and-conditions,
.woocommerce-privacy-policy,
.woocommerce-form-row,
.woocommerce-input-wrapper,
.woocommerce-shipping-calculator,
.woocommerce-cart-form,
.woocommerce-cart-table,
.woocommerce-cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-checkout-payment,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
.woocommerce-order-received,
.woocommerce-thankyou-order-details,
.woocommerce-order-details-table {
    border-top-color: #ff6600 !important;
    border-bottom-color: #ff6600 !important;
    border-left-color: #ff6600 !important;
    border-right-color: #ff6600 !important;
}

.woocommerce a,
.woocommerce button,
.woocommerce input[type="button"],
.woocommerce input[type="submit"],
.woocommerce input[type="reset"] {
    border-color: #ff6600 !important;
}


.woocommerce-form-coupon {
    display: block !important;
}

.woocommerce-checkout .showcoupon {
    display: none !important;
}

/* Make phone and email fields inline */
.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last {
    width: 48% !important;
    float: left;
}

.woocommerce-billing-fields__field-wrapper .form-row-first {
    margin-right: 4% !important;
}

.woocommerce-billing-fields__field-wrapper .form-row-last {
    margin-right: 0 !important;
}
.chefly-price-with-discount .chefly-original-price {
  opacity: 0.5;
  text-decoration: line-through;
}
.woocommerce-billing-fields__field-wrapper .form-row-first input[type="tel"],
.woocommerce-billing-fields__field-wrapper .form-row-last input[type="email"] {
    width: 100%;
}

/* Make phone and email fields inline (target specific IDs) */
#billing_phone_field,
#billing_email_field {
    width: 48% !important;
    float: left !important;
    clear: none !important;
}

#billing_phone_field {
    margin-right: 4% !important;
}

#billing_email_field {
    margin-right: 0 !important;
}

#billing_phone_field input,
#billing_email_field input {
    width: 100%;
}

/* Make address and house number fields inline */
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-billing-fields__field-wrapper .form-row-wide {
    width: 100% !important;
}

.woocommerce-billing-fields__field-wrapper .form-row.address-field {
    width: 65% !important;
    float: left;
    margin-right: 4% !important;
}

.woocommerce-billing-fields__field-wrapper .form-row.address-field-2 {
    width: 31% !important;
    float: left;
    margin-right: 0 !important;
}

.woocommerce-billing-fields__field-wrapper .form-row.address-field input,
.woocommerce-billing-fields__field-wrapper .form-row.address-field-2 input {
    width: 100%;
}

/* Target specific address fields */
.woocommerce-billing-fields__field-wrapper input[name="billing_address_1"],
.woocommerce-billing-fields__field-wrapper input[name="billing_address_2"] {
    width: 100%;
}

.woocommerce-billing-fields__field-wrapper .form-row:has(input[name="billing_address_1"]) {
    width: 65% !important;
    float: left;
    margin-right: 4% !important;
}

.woocommerce-billing-fields__field-wrapper .form-row:has(input[name="billing_address_2"]) {
    width: 31% !important;
    float: left;
    margin-right: 0 !important;
}

/* Make chefly delivery address and house number fields inline */
.woocommerce-billing-fields__field-wrapper .form-row.chefly-address-select {
    width: 65% !important;
    float: left;
    margin-right: 4% !important;
}

.woocommerce-billing-fields__field-wrapper .form-row.chefly-address-number {
    width: 31% !important;
    float: left;
    margin-right: 0 !important;
}

.woocommerce-billing-fields__field-wrapper .form-row.chefly-address-select select,
.woocommerce-billing-fields__field-wrapper .form-row.chefly-address-number input {
    width: 100%;
}

/* Restaurant location field - full width */
.woocommerce-billing-fields__field-wrapper .form-row.chefly-restaurant-location {
    width: 100% !important;
    float: none;
    clear: both;
    margin-right: 0 !important;
}

.woocommerce-billing-fields__field-wrapper .form-row.chefly-restaurant-location select {
    width: 100%;
}

/* Order type radio buttons */
.woocommerce-billing-fields__field-wrapper .form-row.chefly-order-type {
    width: 100% !important;
    float: none;
    clear: both;
    margin-right: 0 !important;
}

.woocommerce-billing-fields__field-wrapper .form-row.chefly-order-type legend {
    display: none !important;
}

.woocommerce-billing-fields__field-wrapper .form-row.chefly-order-type .woocommerce-input-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 0;
}

.woocommerce-billing-fields__field-wrapper .form-row.chefly-order-type input[type="radio"] {
    position: absolute;
    left: -9999px;
}

.woocommerce-billing-fields__field-wrapper .form-row.chefly-order-type label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
    flex: 1;
    text-align: center;
}

.woocommerce-billing-fields__field-wrapper .form-row.chefly-order-type label:hover {
    border-color: #ff6600;
}

.woocommerce-billing-fields__field-wrapper .form-row.chefly-order-type input[type="radio"]:checked + label {
    border-color: #ff6600;
    background: #fff5ef;
    color: #ff6600;
}

/* Hide '(opciono)' from all checkout field labels */
.woocommerce-checkout .optional {
    display: none !important;
}

/* Hide privacy policy text */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-privacy-policy-link {
    display: none !important;
}

/* Thank you page - delivery status polling */
.chefly-thankyou-message {
    text-align: center;
    padding: 40px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.chefly-thankyou-logo {
    max-width: 120px;
    margin-bottom: 24px;
}

.chefly-loading-bar {
    width: 100%;
    max-width: 280px;
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    margin: 0 auto 24px;
    overflow: hidden;
}

.chefly-loading-progress {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #ff6600, #ff8c00);
    border-radius: 3px;
    animation: chefly-loading 1.5s ease-in-out infinite;
}

@keyframes chefly-loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

.chefly-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.chefly-status-approved-icon {
    background: #e6f9ed;
    color: #22c55e;
}

.chefly-status-rejected-icon {
    background: #fee2e2;
    color: #ef4444;
}

#chefly-status-pending h1,
#chefly-status-approved h1,
#chefly-status-rejected h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

#chefly-status-pending p,
#chefly-status-approved p,
#chefly-status-rejected p {
    color: #666;
    margin-bottom: 8px;
}

.chefly-thankyou-order-number {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
    color: #666;
    font-size: 14px;
}

/* Combo modal */
.chefly-combo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chefly-combo-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.chefly-combo-modal-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.chefly-combo-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 2;
    color: #666;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.chefly-combo-modal-close:hover {
    background: #f0f0f0;
}

.chefly-combo-modal-header {
    padding: 20px 24px 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chefly-combo-modal-header h2 {
    font-size: 20px;
    margin: 0;
}

.chefly-combo-modal-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff6600;
}

.chefly-combo-modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.chefly-combo-modal-body.no-sidebar .chefly-combo-content {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
}

.chefly-combo-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.chefly-combo-product-card {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

.chefly-combo-product-card:hover {
    border-color: #ff6600;
}

.chefly-combo-product-card.selected {
    border-color: #ff6600;
    background: #fff5ef;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.chefly-combo-product-check {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 2;
}

.chefly-combo-product-card.selected .chefly-combo-product-check {
    opacity: 1;
    background: #22c55e;
}

.chefly-combo-product-image img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.chefly-combo-product-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.chefly-combo-product-price {
    display: block;
    font-size: 12px;
    color: #ff6600;
    font-weight: 600;
}

.chefly-combo-modal-footer {
    padding: 12px 24px;
    border-top: 1px solid #eee;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.chefly-combo-summary {
    font-size: 13px;
    color: #666;
    flex: 1;
    min-width: 0;
}

.chefly-combo-summary-label {
    font-weight: 600;
    color: #333;
}

.chefly-combo-summary-items {
    color: #ff6600;
}

.chefly-combo-actions {
    display: flex;
    gap: 8px;
}
.chefly-category-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}


.chefly-combo-add-cart {
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: #22c55e;
    color: #fff;
}

.chefly-combo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ffffff47;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  backdrop-filter: blur(5px);
}

.chefly-product-card .chefly-product-image {
    position: relative;
}

/* Combo components in cart */
.chefly-cart-item-combo {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .chefly-combo-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    .chefly-combo-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .chefly-combo-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .chefly-combo-summary {
        text-align: center;
    }
    .chefly-combo-actions {
        justify-content: center;
    }
}

/* Modernize order table */
.woocommerce-checkout-review-order-table,
.woocommerce-table--order-details {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-checkout-review-order-table thead th,
.woocommerce-table--order-details thead th {
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
    color: #fff;
    font-weight: 600;
    padding: 15px;
    text-align: left;
    border: none;
}

.woocommerce-checkout-review-order-table tbody td,
.woocommerce-table--order-details tbody td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.woocommerce-checkout-review-order-table tbody tr:last-child td,
.woocommerce-table--order-details tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-checkout-review-order-table tbody tr:hover,
.woocommerce-table--order-details tbody tr:hover {
    background: #fff8f0;
}

.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-table--order-details .cart-subtotal th,
.woocommerce-table--order-details .order-total th {
    background: #f9f9f9;
    font-weight: 600;
    color: #333;
    border-top: 2px solid #ff6600;
}

.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-table--order-details .cart-subtotal td,
.woocommerce-table--order-details .order-total td {
    background: #f9f9f9;
    font-weight: 700;
    color: #ff6600;
    border-top: 2px solid #ff6600;
}

.woocommerce-checkout-review-order-table .product-name,
.woocommerce-table--order-details .product-name {
    font-weight: 600;
    color: #333;
}

.woocommerce-checkout-review-order-table .product-quantity,
.woocommerce-table--order-details .product-quantity {
    color: #666;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-table--order-details .product-total {
    font-weight: 600;
    color: #ff6600;
}

/* Hide subtotal row */
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-order > p,
.woocommerce-order-received .wwoocommerce-order-overview,
.woocommerce-order-received .woocommerce ul.order_details,
.checkout-inline-error-message,
.woocommerce-NoticeGroup,
.woocommerce-table--order-details .cart-subtotal {
    display: none !important;
}

/* Reposition checkout elements */
.woocommerce-checkout .col2-set {
    display: flex;
    flex-direction: column;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100%;
}

.woocommerce-checkout .woocommerce-additional-fields {
    order: 2;
}

.woocommerce-checkout .woocommerce-billing-fields {
    order: 1;
}

.woocommerce-checkout .woocommerce-shipping-fields {
    order: 3;
}

/* Hide coupon form at top of checkout page */
.woocommerce-form-coupon-toggle {
  display: none;
}
.woocommerce #content #checkout_coupon .checkout_coupon.woocommerce-form-coupon {
    display: none !important;
}

/* Show coupon form at bottom after it's moved by JavaScript */
.woocommerce-checkout #order_review ~ .checkout_coupon.woocommerce-form-coupon {
    display: block !important;
}

/* Move coupon to payment section near submit button */
.woocommerce-checkout .woocommerce-form-coupon {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    order: 1;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    order: 0;
}

.woocommerce-checkout .woocommerce-checkout-payment {
    position: relative;
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

.woocommerce-checkout .woocommerce-checkout-payment .place-order {
    order: 2;
    margin-top: 20px;
}

.woocommerce-checkout .woocommerce-form-coupon .input-text {
    width: 100% !important;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95em;
}

.woocommerce-checkout .woocommerce-form-coupon button {
    margin-top: 10px;
    width: 100%;
    padding: 10px 20px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.woocommerce-checkout .woocommerce-form-coupon button:hover {
    background: #e65c00;
}

/* Display sides in cart and checkout */
.chefly-cart-item-sides,
.woocommerce-cart-form .cart_item .chefly-cart-item-sides,
.woocommerce-checkout-review-order-table .chefly-cart-item-sides {
    background: transparent !important;
    border-left: 0px solid #ff6600 !important;
    padding: 0;
    margin: 0;
    border-radius: 0px;
    font-size: 0.9em;
    color: #333;
}

.chefly-cart-item-sides strong {
    color: #ff6600;
    font-weight: 600;
}

.woocommerce-cart-form .cart_item .chefly-cart-item-sides,
.woocommerce-checkout-review-order-table .chefly-cart-item-sides {
    background: #f9f9f9;
    border-left: 3px solid #ff6600;
}

/* Ensure sides display in checkout table */
.woocommerce-checkout-review-order-table .product-name .chefly-cart-item-sides {
    display: block;
    margin-top: 5px;
}

.woocommerce-table--order-details .product-name .chefly-cart-item-sides {
    display: block;
    margin-top: 5px;
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
  padding: 20px;
  width: 200px;
  height: 70px;
  border-radius: 10px;
}
.button[name="apply_coupon"] {
  width: fit-content !important;
  height: 40px;
  background: #fff !important;
  color: #f60 !important;
  border: 1px solid #f60 !important;
  transform: none !important;
  transition: all 0.2s !important;
}
.button[name="apply_coupon"]:hover {
  background: #f60 !important;
  color: #fff !important;
}
.fee td {
  text-align: right;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border: none !important;
}
.chefly-selected-option, .woocommerce-input-wrapper input, .woocommerce-input-wrapper textarea {
  border: 1px solid #ccc !important;
  border-radius: 0 !important;
  background: #fff !important;
  height: 50px !important;
  font-size: 18px !important;
}
.woocommerce-input-wrapper input:focus,
.woocommerce-input-wrapper textarea:focus {
	border-bottom-color: #cc5200 !important;
    box-shadow: none !important;
    background-color: #cc5200;
}

.woocommerce form .form-row.woocommerce-invalid label {
    color: inherit !important;
}
/* Back button on checkout page */
.chefly-checkout-back-button {
  background: #fff6f2;
  padding: 10px 40px 10px 40px;
  box-shadow: 0 0 10px 0px rgba(0,0,0,0.06);
}

.chefly-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6600;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #ff6600;
    border-radius: 50px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
#customer_details {
  width: 50% !important;
  border-right: 1px solid #eee;
  padding: 40px;
}

.chefly-back-link:focus,
.chefly-back-link:hover {
    background: #ff6600;
    color: #fff;
}

.chefly-back-link svg {
    transition: transform 0.3s ease;
}

.chefly-cart-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 10px 0;
}

.chefly-cart-discount-info {
    flex: 1;
}

.chefly-cart-discount-title {
    font-weight: bold;
    color: #28a745;
    font-size: 14px;
    margin-bottom: 3px;
}

.chefly-cart-discount-threshold {
    font-size: 12px;
    color: #666;
}

.chefly-cart-discount-amount {
    font-weight: bold;
    color: #28a745;
    font-size: 16px;
}

.chefly-cart-item-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.chefly-quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chefly-quantity-btn:focus,
.chefly-quantity-btn:hover {
    background: #f8f9fa;
    border-color: #ff6600;
    color: #ff6600;
}

.chefly-quantity-input {
    width: 60px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.chefly-quantity-input:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

/* Menu Tabs Styles */
.chefly-menu-tabs {
    margin: 20px 0;
}

.chefly-tabs-nav {
    display: flex;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 10x;
}

.chefly-tabs-nav::-webkit-scrollbar {
    display: none;
}

.chefly-tab-btn {
	background: none !important;
	border-left: 0 !important;
	border-top: 0 !important;
	border-radius: 0 !important;
	border-right: 0 !important;
	font-size: 18px !important;
	color: #333 !important;
	cursor: pointer !important;
	border-bottom: 2px solid transparent !important;
	margin-bottom: 0;
	transition: color 0.2s ease, border-color 0.2s ease !important;
	white-space: nowrap !important;
	font-family: inherit;
    border-bottom: 2px solid #eee !important;
}

.chefly-tab-btn:hover {
    color: #ff6600 !important;
}

.chefly-tab-btn.chefly-tab-active {
    color: #ff6600 !important;
    border-bottom-color: #ff6600 !important;
}

.chefly-tabs-content {
    position: relative;
}

.chefly-tab-panel {
    display: none;
}

.chefly-tab-panel.chefly-tab-panel-active {
    display: block;
}

/* Responsive tabs */
@media (max-width: 768px) {
    .chefly-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .chefly-tab-btn {
        padding: 10px 14px;
        font-size: 14px;
        flex-shrink: 0;
    }
}

/* Promotions Section */
.chefly-promotions-section {
    margin: 0 0 30px 0;
    padding: 20px;
    border-radius: 8px;
    background: #fff8f5;
    border: 1px solid #ffe0d0;
}

.chefly-promotions-title {
    font-size: 22px;
    font-weight: 700;
    color: #ff6600;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.chefly-category-title {
    font-size: 32px;
}
.chefly-promotions-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff6600;
    border-radius: 50%;
}

.chefly-promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.woocommerce-order-received {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 980px) {
  .chefly-category-products {
    grid-template-columns: 1fr;
  }
  .checkout.woocommerce-checkout {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
    #order_review,
    #customer_details {
        width: 100% !important;
        border-right: 0 !important;
        padding: 20px !important;
    }
    .chefly-promotions-section {
        padding: 14px;
        margin: 0 0 20px 0;
    }

    .chefly-promotions-title {
        font-size: 18px;
    }

    .chefly-promotions-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }
}
@media all and (max-width: 480px) {
    .chefly-thankyou-message {
    border-radius: 0;
    box-shadow: none;
    }
    #place_order {
        min-width: 100%;
    }
    #payment {
    flex-direction: column-reverse !important;
    }
    .woocommerce-billing-fields__field-wrapper > p {
    min-width: 100%;
    }
    .chefly-cart-modal.active {
     width: 100%;
    }
    .chefly-category-title {
        font-size: 20px;
    }
}

/* Sticky Category Navigation */
.chefly-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee;
    margin: -8px -8px 0 -8px;
    padding: 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.chefly-sticky-nav::-webkit-scrollbar {
    display: none;
}
.chefly-sticky-nav-inner {
    display: flex;
    gap: 0;
    white-space: nowrap;
    min-width: max-content;
}
.chefly-nav-link {
	display: inline-block;
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 500;
	color: #333 !important;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
	cursor: pointer;
	font-weight: 600;
}
.chefly-nav-link:hover {
    color: #ff6600;
}
.chefly-nav-link.chefly-nav-active {
    color: #ff6600;
    border-bottom-color: #ff6600;
}

/* Product Tags */
.chefly-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}
.chefly-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 12px;
    background: #f5f5f5;
    color: #666;
}
.chefly-tag-ljuto {
    background: #ffebee;
    color: #d32f2f;
}
.chefly-tag-posno {
    background: #e8f5e9;
    color: #489344;
}
.chefly-tag-vege {
    background: #e8f5e9;
    color: #2e7d32;
}
.chefly-tag-bez-glutena {
    background: #fff9c4;
    color: #f57f17;
}