/* Category Header Styles */
.category-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    color: white;
}

.category-overlay h5 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.category-overlay p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    max-width: 80%;
}

/* Clickable Item Styles */
.list-item-rows {
    /* transition: all 0.3s ease; */
    border-radius: 8px;
    margin-bottom: 15px;
}

.list-item-rows.clickable-item {
    cursor: pointer;
}

.list-item-rows.clickable-item:hover {
    background-color: #f8f9fa !important;
    transform: none !important;
    box-shadow: none !important;
}

.list-item-rows.clickable-item:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure buttons are still clickable */
.list-item-rows a,
.list-item-rows button,
.list-item-rows .el-button {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Disabled state */
.list-item-rows.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.list-item-rows.disabled:hover {
    transform: none;
    background-color: white !important;
}

@media (max-width: 768px) {
    .category-overlay h5 {
        font-size: 1.5rem;
    }
    
    .category-overlay p {
        font-size: 0.9rem;
    }
}

.btn-grey {
    background: #b52d18;
    color: #fff;
}
.el-image__inner {
    opacity: 1;
    vertical-align: top;
    border-radius: 10px;
}
.text-center.mb-3 {
    color: #fff;
}

@media (max-width: 768px) {
    .text-center.mb-3 {
        color: #831818;
    }
}

.el-button--success.is-link, .el-button--success.is-plain, .el-button--success.is-text {
    --el-button-text-color: #a72b2c;
    --el-button-bg-color: rgb(255 255 255);
    --el-button-border-color: rgb(167 43 44);
    --el-button-hover-text-color: var(--el-color-white);
    --el-button-hover-bg-color: #a72b2c;
    --el-button-hover-border-color: #a72b2c;
    --el-button-active-text-color: var(--el-color-white);
}
.el-button.is-disabled, .el-button.is-disabled:hover {
    background-color: rgb(10 9 10);
    background-image: none;
    border-color: rgb(213 70 70);
    color: var(--el-button-disabled-text-color);
    cursor: not-allowed;
}
.el-button--success {
    --el-button-text-color: var(--el-color-white);
    --el-button-bg-color: #831818;
    --el-button-border-color: #831818;
    --el-button-outline-color: #b05454;
    --el-button-active-color: #831818;
    --el-button-hover-text-color: var(--el-color-white);
    --el-button-hover-link-text-color: rgb(176 84 84);
    --el-button-hover-bg-color: #831818;
    --el-button-hover-border-color: #924141;
    --el-button-active-bg-color: rgb(131 24 24);
    --el-button-active-border-color: #831818;
    --el-button-disabled-text-color: var(--el-color-white);
    --el-button-disabled-bg-color: rgb(176 84 84);
    --el-button-disabled-border-color: rgb(143 64 64);
}



@media (max-width: 768px) {
  /* Scope only rows that contain an item image preview */
  .row.m-0:has(.item-image-preview) > .col-3.p-0 {
    -ms-flex: 0 0 25%;
    flex: 0 0 45%;
    max-width: 35%;
  }

  .row.m-0:has(.item-image-preview) > .col-9.p-0 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 65%;
  }

  /* Vertically center the image inside its fixed-height box */
  .row.m-0:has(.item-image-preview) .el-image {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.button-fixed-buttom {
    bottom: 0;
    right: 0;
    z-index: 5;
}

.list-item-rows .button-fixed-buttom .el-button {
  --el-button-bg-color: #b52d18 !important;
  --el-button-text-color: #fff !important;
  --el-button-border-color: #b52d18 !important;
  --el-button-hover-bg-color: #992514 !important;
  --el-button-hover-text-color: #fff !important;
  --el-button-hover-border-color: #992514 !important;
  --el-button-active-bg-color: #7a1e10 !important;
  --el-button-active-border-color: #7a1e10 !important;
}

.modal-content #item-details .item_s:first-child .el-image {
  height: 250px !important;
}

/* ============================================
   Mobile App Section - Premium Red Design
   ============================================ */

/* Desktop Animations */
@keyframes floatAnimationDesktop {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Animation */
@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Desktop - Remove height from download buttons container */
@media (min-width: 992px) {
  .tree-columns-center .row.mt-4 .d-flex {
    height: 0px;
  }
}

/* ============================================
   Add to Cart Flying Animation
   ============================================ */
@keyframes flyToCart {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  30% {
    opacity: 1;
    transform: translate(0, -30px) scale(0.8);
  }
  70% {
    opacity: 0.8;
    transform: translate(var(--tx), var(--ty)) scale(0.3);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.1);
  }
}

.flying-item {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  animation: flyToCart 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.flying-item .cart-icon-wrapper {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3ecf8e 0%, #2eb87c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(62, 207, 142, 0.5);
  border: 3px solid #fff;
}

.flying-item .cart-icon-wrapper i {
  font-size: 24px;
  color: #fff;
}

/* Cart icon pulse effect */
@keyframes cartPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.cart-pulse {
  animation: cartPulse 0.4s ease-in-out;
}

/* ============================================
   Restaurant Card - Compact Design
   ============================================ */

/* Reduce restaurant card content padding */
.rounded-box .p-2 {
    padding: 0.4rem 0.5rem !important;
}

/* Restaurant name size - readable - NO margin for mb-2 class */
.rounded-box .font-weight-bold {
    font-size: 14px !important;
    line-height: 1.3;
}

/* Specific rule: if it has mb-2 class, margin is 0 */
.rounded-box .font-weight-bold.mb-2 {
    margin-bottom: 0 !important;
}

/* Otherwise keep small margin */
.rounded-box .font-weight-bold:not(.mb-2) {
    margin-bottom: 0.1rem !important;
}

/* Remove ALL mb-2 margins inside restaurant cards */
.rounded-box .mb-2,
.rounded-box .my-2,
.rounded-box .p-2 > .mb-2,
.rounded-box .p-2 > div.mb-2,
.rounded-box div.mb-2,
.rounded-box .row.mb-2 {
    margin-bottom: 0 !important;
}

/* Cuisine text size - small and compact */
.rounded-box .font-weight-light {
    font-size: 10px !important;
    margin-bottom: 0.15rem !important;
    line-height: 1.1;
}

/* Ratings and time section - compact */
.rounded-box .row.align-items-center.no-gutters,
.rounded-box .p-2 > .row.mb-2 {
    font-size: 11px !important;
    margin-bottom: 0.15rem !important;
}

.rounded-box .row.align-items-center.no-gutters i {
    font-size: 13px !important;
}

/* Delivery Information Section - Compact */
.delivery-info-section {
    border-top: 1px solid #e8e8e8;
    padding-top: 0.35rem !important;
    margin-top: 0.15rem !important;
}

.delivery-info-section .d-flex {
    font-size: 10px !important;
}

.delivery-info-section .text-center {
    padding: 0 0.2rem;
}

.delivery-info-section .mb-1 {
    margin-bottom: 0.1rem !important;
}

.delivery-info-section i {
    font-size: 15px !important;
    line-height: 1;
}

.delivery-info-section .text-muted {
    font-size: 10px !important;
    line-height: 1.1;
}

.delivery-info-section .font-weight-bold {
    font-size: 11px !important;
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rounded-box .p-2 {
        padding: 0.5rem !important;
    }
    
    .rounded-box .font-weight-bold {
        font-size: 15px !important;
    }
    
    .delivery-info-section i {
        font-size: 16px !important;
    }
    
    .delivery-info-section .text-muted {
        font-size: 11px !important;
    }
    
    .delivery-info-section .font-weight-bold {
        font-size: 12px !important;
    }
    .mb-2, .my-2 {
      margin-bottom: .0rem !important;
  }
  }

/* Remove hover effects from restaurant cards completely */
a.rounded-box.no-hover:hover,
a.rounded-box.no-hover:hover *,
a.rounded-box.no-hover:hover div,
a.rounded-box.no-hover:hover h5,
a.rounded-box.no-hover:hover h6,
a.rounded-box.no-hover:hover p,
a.rounded-box.no-hover:hover span,
a.rounded-box.no-hover:hover i {
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* Ensure no visual changes on hover for restaurant cards */
a.rounded-box.no-hover:hover {
  transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Styling for closed restaurant badge */
.badge-closed {
  display: inline-block;
  background-color: #dc3545 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  line-height: 1.2;
}

/* ===========================
   SEO PAGES - RESTAURANT CARDS
   =========================== */

.seo-restaurant-card {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
    position: relative;
}

.seo-restaurant-card:hover {
    border-color: #b52d18;
    box-shadow: 0 4px 15px rgba(181, 45, 24, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.seo-restaurant-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.seo-restaurant-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.seo-restaurant-card:hover .seo-restaurant-card-image img {
    transform: scale(1.05);
}

.seo-restaurant-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seo-restaurant-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 39px;
}

.seo-restaurant-card-address {
    font-size: 12px;
    color: #666;
    margin: 0 0 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.seo-restaurant-card-address i {
    font-size: 14px;
    color: #b52d18;
    flex-shrink: 0;
    margin-top: 2px;
}

.seo-restaurant-card-cuisine {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seo-restaurant-card-cuisine i {
    font-size: 14px;
    color: #b52d18;
    flex-shrink: 0;
}

.seo-btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
    padding: 10px 20px;
    background: #b52d18;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.seo-btn-order:hover {
    background: #992514;
    box-shadow: 0 4px 15px rgba(181, 45, 24, 0.3);
    transform: translateY(-1px);
}

.seo-btn-order i {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.seo-restaurant-card:hover .seo-btn-order i {
    transform: translateX(3px);
}

/* SEO Text Sections */
.seo-text-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.seo-text-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.seo-text-content .lead {
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    font-weight: 500;
}

.seo-text-content h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.seo-restaurant-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.seo-restaurant-list li {
    padding: 10px 15px;
    border-left: 3px solid #b52d18;
    background: #f8f9fa;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.seo-restaurant-list li:hover {
    background: #fff;
    border-left-color: #831818;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.seo-steps-list {
    padding-left: 20px;
    margin: 1rem 0;
}

.seo-steps-list li {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.seo-steps-list li strong {
    color: #b52d18;
}

.seo-benefits-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.seo-benefits-list li {
    padding: 10px 0;
    font-size: 15px;
    color: #555;
}

.seo-benefits-list li i {
    margin-right: 10px;
    color: #b52d18;
    font-size: 18px;
}

/* SEO Link Cards */
.seo-link-card {
    display: block;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.seo-link-card:hover {
    border-color: #b52d18;
    box-shadow: 0 2px 8px rgba(181, 45, 24, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.seo-link-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.seo-link-count {
    font-size: 13px;
    color: #b52d18;
    font-weight: 500;
}

/* SEO City Cards */
.seo-city-card {
    display: block;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.seo-city-card:hover {
    border-color: #b52d18;
    box-shadow: 0 4px 15px rgba(181, 45, 24, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.seo-city-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.seo-city-state {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
}

.seo-city-count {
    font-size: 13px;
    color: #b52d18;
    font-weight: 600;
}

/* Responsive for SEO cards */
@media (max-width: 768px) {
    .seo-restaurant-card {
        border-radius: 6px;
    }
    
    .seo-restaurant-card-image {
        padding-top: 52%;
    }
    
    .seo-restaurant-card-body {
        padding: 10px;
        gap: 6px;
    }
    
    .seo-restaurant-card-title {
        font-size: 13px;
        min-height: 32px;
        line-height: 1.25;
    }
    
    .seo-restaurant-card-address {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .seo-restaurant-card-cuisine {
        font-size: 11px;
    }
    
    .seo-btn-order {
        padding: 8px 14px;
        font-size: 11px;
        margin-top: 2px;
    }
    
    .seo-link-card {
        padding: 12px 15px;
    }
    
    .seo-city-card {
        padding: 15px;
    }
    
    .seo-text-section h2 {
        font-size: 20px;
    }
    
    .seo-restaurant-list li {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .seo-restaurant-card {
        border-radius: 5px;
    }
    
    .seo-restaurant-card-image {
        padding-top: 48%;
    }
    
    .seo-restaurant-card-body {
        padding: 8px;
        gap: 5px;
    }
    
    .seo-restaurant-card-title {
        font-size: 12px;
        min-height: 30px;
        line-height: 1.2;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .seo-restaurant-card-address {
        font-size: 10px;
        margin-bottom: 4px;
        gap: 4px;
    }
    
    .seo-restaurant-card-address i {
        font-size: 12px;
    }
    
    .seo-restaurant-card-cuisine {
        font-size: 10px;
    }
    
    .seo-restaurant-card-cuisine i {
        font-size: 12px;
    }
    
    .seo-btn-order {
        padding: 7px 12px;
        font-size: 10px;
        margin-top: 2px;
        gap: 4px;
    }
    
    .seo-btn-order i {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .seo-restaurant-card-image {
        padding-top: 45%;
    }
    
    .seo-restaurant-card-body {
        padding: 7px;
        gap: 4px;
    }
    
    .seo-restaurant-card-title {
        font-size: 11px;
        min-height: 28px;
    }
    
    .seo-btn-order {
        padding: 6px 10px;
        font-size: 10px;
    }
}

/* ============================================
   LOCATION ESTIMATION BUTTONS - MOBILE IMPROVEMENTS
   ============================================ */

/* Container improvements */
.location-estimation {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Button base styles - make them look like actual buttons */
.location-estimation .el-button {
    border: 1px solid #d0d7de !important;
    background: #fff !important;
    color: #24292f !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    margin: 2px !important;
    min-height: 44px !important;
}

/* Active/Selected button state */
.location-estimation .el-button.disabled {
    background: #b52d18 !important;
    color: #fff !important;
    border-color: #b52d18 !important;
    box-shadow: 0 2px 6px rgba(181, 45, 24, 0.3) !important;
}

/* Hover state for non-active buttons */
.location-estimation .el-button:not(.disabled):hover {
    background: #f6f8fa !important;
    border-color: #b52d18 !important;
    color: #b52d18 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
}

/* Mobile specific improvements */
@media (max-width: 768px) {
    .location-estimation {
        padding: 8px !important;
        border-radius: 12px !important;
    }
    
    .location-estimation .el-button {
        padding: 12px 16px !important;
        font-size: 14px !important;
        min-height: 48px !important;
        border-radius: 8px !important;
        margin: 3px !important;
    }
    
    .location-estimation .el-button .mb-1 {
        font-weight: 600 !important;
        margin-bottom: 4px !important;
    }
    
    .location-estimation .el-button .font11 {
        font-size: 12px !important;
        opacity: 0.8;
    }
    
    /* Improve icon visibility */
    .location-estimation .el-button .zmdi {
        margin-right: 4px;
        font-size: 14px !important;
    }
}

/* Very small mobile screens */
@media (max-width: 576px) {
    .location-estimation {
        padding: 6px !important;
    }
    
    .location-estimation .el-button {
        padding: 10px 12px !important;
        font-size: 13px !important;
        min-height: 44px !important;
        margin: 2px !important;
    }
    
    .location-estimation .el-button .mb-1 {
        font-size: 13px !important;
    }
    
    .location-estimation .el-button .font11 {
        font-size: 11px !important;
    }
}




/* ============================================
   HIDE ORIGINAL SECTIONS - NOW IN MODAL
   ============================================ */

/* Hide original restaurant sections that are now in modal */
#section-about,
#section-gallery,
#section-address,
#section-impressum,
#section-booking,
#section-review {
    display: none !important;
}

/* ============================================
   RESTAURANT INFO MODAL - SIMPLE & ELEGANT
   ============================================ */

/* Restaurant Info Icon */
.restaurant-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.restaurant-info-icon:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #dee2e6;
    text-decoration: none;
}

.restaurant-info-icon i {
    font-size: 16px;
    color: inherit;
}

/* Tooltip */
.restaurant-info-icon .info-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 6px 12px;
    background: #2c3e50;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tooltip arrow */
.restaurant-info-icon .info-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2c3e50;
}

.restaurant-info-icon:hover .info-text {
    opacity: 1;
    visibility: visible;
}

/* Modal Overlay */
.restaurant-info-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.restaurant-info-modal[style*="display: flex"],
.restaurant-info-modal[style*="display:flex"] {
    display: flex !important;
}

.restaurant-info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

/* Modal Content */
.restaurant-info-modal-content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Modal Header */
.restaurant-info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 2px solid #f0f0f0;
}

.restaurant-info-modal-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.restaurant-info-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.restaurant-info-close:hover {
    background: #b52d18;
    color: #fff;
}

/* Tabs Navigation */
.restaurant-info-tabs {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    overflow-x: auto;
    flex-shrink: 0;
    -webkit-overflow-scrolling: touch;
}

.restaurant-info-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.restaurant-info-tab:hover {
    color: #b52d18;
}

.restaurant-info-tab.active {
    color: #b52d18;
    border-bottom-color: #b52d18;
}

/* Modal Body */
.restaurant-info-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.restaurant-info-body::-webkit-scrollbar {
    width: 8px;
}

.restaurant-info-body::-webkit-scrollbar-thumb {
    background: #b52d18;
    border-radius: 4px;
}

.restaurant-info-body::-webkit-scrollbar-track {
    background: #f0f0f0;
}

/* Tab Content */
.restaurant-info-tab-content {
    display: none;
}

.restaurant-info-tab-content.active {
    display: block;
}

/* Info Sections */
.info-section {
    padding: 15px 0;
}

.info-section i {
    font-size: 20px;
    color: #b52d18;
}

/* Fix blue colors to red in About tab */
.restaurant-info-tab-content .text-primary,
.restaurant-info-tab-content i.text-primary {
    color: #b52d18 !important;
}

.opening-hours-table td {
    padding: 8px 10px;
    font-size: 14px;
}

.opening-hours-table td:first-child {
    font-weight: 500;
    color: #495057;
    width: 120px;
}

.opening-hours-table td:last-child {
    color: #6c757d;
}


/* Responsive Design */
@media (max-width: 768px) {
    .restaurant-info-modal {
        padding: 10px;
        align-items: flex-start;
    }
    
    .restaurant-info-modal-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .restaurant-info-modal-header {
        padding: 16px 20px;
        flex-shrink: 0;
    }
    
    .restaurant-info-modal-header h4 {
        font-size: 17px;
    }
    
    .restaurant-info-close {
        font-size: 28px;
        width: 32px;
        height: 32px;
        line-height: 28px;
    }
    
    .restaurant-info-tabs {
        padding: 8px 15px;
    }
    
    .restaurant-info-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .restaurant-info-body {
        padding: 20px;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
}

@media (max-width: 576px) {
    .restaurant-info-modal {
        padding: 5px;
    }
    
    .restaurant-info-modal-content {
        border-radius: 6px;
        margin-top: 5px;
    }
    
    .restaurant-info-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        margin-left: 8px;
    }
    
    .restaurant-info-icon i {
        font-size: 16px;
    }
    
    /* Tooltip position on small mobile screens */
    .restaurant-info-icon .info-text {
        font-size: 11px;
        padding: 5px 8px;
        left: auto;
        right: 0;
        transform: none;
    }
    
    .restaurant-info-icon .info-text::after {
        left: auto;
        right: 10px;
        transform: none;
    }
    
    .restaurant-info-modal-header {
        padding: 14px 16px;
    }
    
    .restaurant-info-modal-header h4 {
        font-size: 15px;
    }
    
    .restaurant-info-close {
        font-size: 26px;
        width: 30px;
        height: 30px;
        line-height: 26px;
    }
    
    .restaurant-info-tabs {
        padding: 6px 12px;
    }
    
    .restaurant-info-tab {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .restaurant-info-body {
        padding: 16px;
    }
}

/* Opening Hours Modern Design */
.opening-hours-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
}

.opening-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #b52d18;
}

.opening-hours-day {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
}

.opening-hours-time {
    text-align: right;
    color: #6c757d;
}

.time-slot {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 500;
}

.time-note {
    font-size: 12px;
    color: #b52d18;
    margin-top: 4px;
    font-style: italic;
}

/* Responsive Opening Hours */
@media (max-width: 768px) {
    .opening-hours-modern {
        max-height: none;
        padding-bottom: 30px;
    }
    
    .opening-hours-row {
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
    }
    
    .opening-hours-day {
        min-width: auto;
    }
    
    .opening-hours-time {
        text-align: left;
    }
}

/* Rating Summary in Modal */
.rating-summary {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.rating-summary h3 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* Reviews Tab - Add bottom padding */
#tab-reviews {
    padding-bottom: 30px;
}

/* Reviews Modal Grid */
.reviews-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

@media (max-width: 768px) {
    .reviews-modal-grid {
        grid-template-columns: 1fr;
    }
}

.reviews-modal-grid::-webkit-scrollbar {
    width: 6px;
}

.reviews-modal-grid::-webkit-scrollbar-thumb {
    background: #b52d18;
    border-radius: 3px;
}

.reviews-modal-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

/* Review Modal Card */
.review-modal-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    transition: border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-modal-card:hover {
    border-color: #b52d18;
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-modal-name {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.review-modal-rating {
    background: #fedc79;
    color: #2c3e50;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.review-modal-stars {
    margin-bottom: 10px;
}

.review-modal-stars i {
    margin-right: 2px;
}

.review-modal-text {
    font-size: 13px;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/* Responsive Reviews Modal */
@media (max-width: 768px) {
    .rating-summary {
        padding: 15px;
    }
    
    .rating-summary h3 {
        font-size: 30px;
    }
    
    .reviews-modal-grid {
        max-height: 300px;
    }
    
    .review-modal-card {
        padding: 12px;
    }
    
    .review-modal-name {
        font-size: 14px;
    }
    
    .review-modal-text {
        font-size: 12px;
    }
}

/* Additional responsive adjustments */
@media (max-width: 576px) {
    .review-modal-card {
        padding: 14px;
    }
    
    .review-modal-rating {
        padding: 3px 10px;
        font-size: 13px;
    }
}

/* ============================================
   MAGNIFIC POPUP - FIX Z-INDEX FOR MODAL
   ============================================ */

/* Make magnific popup appear above restaurant info modal */
.mfp-bg {
    z-index: 999999 !important;
}

.mfp-wrap {
    z-index: 999999 !important;
}

.mfp-content {
    z-index: 999999 !important;
}

/* Restaurant Name Styling */
.container .d-flex h5,
.container .d-flex h4,
.merchant-top-header .d-flex h4 {
    overflow: visible;
    text-overflow: initial;
    white-space: normal;
    max-width: none;
}

/* Mobile Responsive - Larger Icon and Restaurant Name */
@media (max-width: 768px) {
    .restaurant-info-icon {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        margin-left: 8px;
    }
    
    .restaurant-info-icon i {
        font-size: 17px;
    }
    
    /* Larger restaurant name on mobile */
    .container .d-flex h5 {
        font-size: 1.4rem;
        font-weight: 600;
    }
    
    .merchant-top-header .d-flex h4 {
        font-size: 1.5rem;
        font-weight: 600;
    }
    
    /* Tooltip position on mobile */
    .restaurant-info-icon .info-text {
        font-size: 11px;
        padding: 5px 10px;
        left: auto;
        right: 0;
        transform: none;
    }
    
    .restaurant-info-icon .info-text::after {
        left: auto;
        right: 12px;
        transform: none;
    }
}

@media (max-width: 576px) {
    .container .d-flex h5 {
        font-size: 1.3rem;
    }
    
    .merchant-top-header .d-flex h4 {
        font-size: 1.4rem;
    }
    
    .restaurant-info-icon {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        margin-left: 6px;
    }
    
    .restaurant-info-icon i {
        font-size: 15px;
    }
    
    /* Tooltip position on very small mobile screens */
    .restaurant-info-icon .info-text {
        font-size: 10px;
        padding: 4px 8px;
        left: auto;
        right: 0;
        transform: none;
    }
    
    .restaurant-info-icon .info-text::after {
        left: auto;
        right: 10px;
        transform: none;
    }
}

/* ============================================
   FIX ALL RED BUTTONS - WHITE TEXT ON HOVER
   ============================================ */

/* Fix for all primary outline buttons */
.btn-outline-primary,
a.btn-outline-primary {
    color: #b52d18;
    border-color: #b52d18;
    background: transparent;
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover,
.btn-outline-primary:focus,
a.btn-outline-primary:focus,
.btn-outline-primary:active,
a.btn-outline-primary:active {
    background: #b52d18 !important;
    border-color: #b52d18 !important;
    color: #fff !important;
}

/* Fix for buttons inside modal */
.restaurant-info-tab-content .btn-outline-primary:hover,
.restaurant-info-tab-content a.btn-outline-primary:hover {
    background: #b52d18 !important;
    border-color: #b52d18 !important;
    color: #fff !important;
}

/* Fix for all primary buttons */
.btn-primary,
a.btn-primary {
    background: #b52d18;
    border-color: #b52d18;
    color: #fff;
}

.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:focus {
    background: #831818 !important;
    border-color: #831818 !important;
    color: #fff !important;
}

/* PRODUCTION READY - VERSION 2.0.5 */


.el-affix--fixed {
  z-index: 10 !important;
}


.el-affix--fixed {
  z-index: 11 !important;
}

/* ============================================
   CUSTOM MODIFICATIONS - MEAL DISPLAY & ALLERGENS
   ============================================ */

/* Disable hover effects for hover01 class */
.hover01 figure:hover img.lazy {
    transform: none !important;
}

.hover01 figure img.lazy {
    transition: none !important;
}

/* Allergen Icon Style */
.allergen-icon {
    font-size: 18px;
    color: #999;
    cursor: pointer;
    flex-shrink: 0;
}

.allergen-icon:hover {
    color: #b52d18;
}

/* Mobile */
@media (max-width: 768px) {
    .allergen-icon {
        font-size: 16px;
    }
}

/* ============================================
   PAYMENT METHOD SELECTION STYLES
   ============================================ */

/* Payment Radio Indicator */
.payment-radio-indicator {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #fff;
}

.payment-radio-indicator.active {
    border-color: #b52d18;
    background: #b52d18;
    color: #fff;
}

.payment-radio-indicator.active i {
    font-size: 12px;
}

/* Payment Method Card */
.payment-method-card {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.payment-method-card.cursor-pointer {
    cursor: pointer;
}

.payment-method-card.cursor-pointer:hover {
    border-color: #b52d18;
    background-color: #fef7f6;
}

.payment-method-card.selected {
    border-color: #28a745;
    background-color: #f0fff4;
}

.payment-method-card.selected .payment-radio-indicator.active {
    border-color: #28a745;
    background: #28a745;
}

/* Cursor pointer utility */
.cursor-pointer {
    cursor: pointer;
}

/* Add Payment Modal Styles */
.add-payment-modal .el-dialog__body {
    padding: 15px 20px;
}

.add-payment-modal .payment-methods-list .chevron-section {
    transition: all 0.2s ease;
}

.add-payment-modal .payment-methods-list .chevron-section:hover {
    background-color: #f8f9fa;
    border-color: #b52d18;
}

/* ============================================
   CHECKOUT SECTION HEADERS
   ============================================ */

.checkout-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-step-badge {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.section-step-badge.completed {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.section-header-content {
    flex: 1;
}

.section-header-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.section-header-subtitle {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* ============================================
   ADD ADDRESS CARD STYLES
   ============================================ */

.add-address-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.add-address-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 1px solid #f0f0f0;
}

.add-address-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #b52d18 0%, #d4442e 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.add-address-title {
    flex: 1;
}

.add-address-title h6 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.add-address-title p {
    font-size: 13px;
    color: #888;
}

.btn-close-address {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-address:hover {
    background: #dc3545;
    color: #fff;
}

.add-address-form {
    padding: 16px;
}

/* Postal Code Field Styles */
.postal-code-wrapper {
    position: relative;
}

.postal-code-integrated-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 1px solid #ffb74d;
    border-top: none;
    border-radius: 0 0 8px 8px;
    font-size: 11px;
    color: #f57c00;
    margin-top: -1px;
    position: relative;
    z-index: 1;
}

.postal-code-integrated-hint i {
    font-size: 12px;
}

/* Ensure select field has proper bottom radius when hint is shown */
.postal-code-wrapper .el-select {
    border-radius: 8px 8px 0 0;
}

@media (max-width: 576px) {
    .add-address-header {
        padding: 12px;
    }
    
    .add-address-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 18px;
    }
    
    .add-address-form {
        padding: 12px;
    }
    
    .postal-code-integrated-hint {
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* ============================================
   UTENSILS CARD STYLES
   ============================================ */

.utensils-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.utensils-card:hover {
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.utensils-card.active {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #e8f5e9 100%);
}

.utensils-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
}

.utensils-card.active .utensils-icon {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: #fff;
}

.utensils-content {
    flex: 1;
}

.utensils-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 2px 0;
}

.utensils-subtitle {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.utensils-toggle {
    display: flex;
    align-items: center;
}

@media (max-width: 576px) {
    .utensils-card {
        padding: 12px;
    }
    
    .utensils-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 18px;
    }
    
    .utensils-title {
        font-size: 13px;
    }
}

/* ============================================
   EMPTY CART STYLES
   ============================================ */

.empty-cart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.empty-cart-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.empty-cart-icon i {
    font-size: 36px;
    color: #bbb;
}

.empty-cart-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
}

.empty-cart-text {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* ============================================
   CART STYLES (Right Panel)
   ============================================ */

/* Sticky cart - simple and clean */
.sticky-cart {
    position: sticky;
    top: 20px;
}

.cart-panel-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cart-panel-header {
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.cart-merchant-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-merchant-logo {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cart-merchant-logo .el-image {
    border-radius: 8px;
}

.cart-merchant-details {
    flex: 1;
    min-width: 0;
}

.cart-merchant-name {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-merchant-name:hover {
    color: #b52d18;
}

.cart-merchant-name i {
    font-size: 16px;
    margin-left: 4px;
    opacity: 0.5;
}

.cart-merchant-address {
    margin: 0;
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-cart .items {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.section-cart .items:last-child {
    border-bottom: none;
}

.section-cart .line-items {
    align-items: flex-start;
    padding-left: 5px;
}

.section-cart .cart-item-details {
    padding-left: 10px;
}

.cart-item-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cart-item-image .el-image {
    border-radius: 8px;
}

.section-cart .quantity {
    max-width: 100px;
}

.section-cart .qty-btn {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #333;
    font-size: 12px;
    transition: all 0.2s ease;
}

.section-cart .qty-btn:hover {
    background: #b52d18;
    color: #fff;
}

.section-cart .qty {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.section-cart .item-remove {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fee;
    color: #dc3545;
    font-size: 12px;
    transition: all 0.2s ease;
}

.section-cart .item-remove:hover {
    background: #dc3545;
    color: #fff;
}

.cart-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
}

.cart-summary h6 {
    font-weight: 700;
}

/* Cart Empty State */
.cart-empty {
    padding: 30px 15px;
}

.cart-empty .no-results {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.cart-empty h6 {
    color: #666;
}

.cart-empty p {
    color: #999;
    font-size: 14px;
}

/* ============================================
   TIP SECTION STYLES
   ============================================ */

.tip-section-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.tip-section-card.has-tip {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #fff 100%);
}

.tip-section-card.has-tip .tip-icon {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.tip-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.tip-title {
    display: flex;
    flex-direction: column;
}

.tip-main-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.tip-subtitle {
    font-size: 13px;
    color: #888;
}

.tip-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tip-option {
    flex: 1;
    min-width: 60px;
    padding: 10px 12px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
}

.tip-option:hover {
    border-color: #b52d18;
    color: #b52d18;
}

.tip-option.active {
    border-color: #28a745;
    background: #28a745;
    color: #fff;
}

.tip-custom-input {
    margin-top: 10px;
}

.tip-custom-input .input-group {
    display: flex;
    gap: 8px;
}

.tip-custom-input .form-control {
    flex: 1;
    max-width: 120px;
    text-align: center;
    font-weight: 600;
}

.tip-custom-input .input-group-text {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    font-weight: 600;
}

.tip-custom-input .btn {
    padding: 8px 20px;
}

@media (max-width: 576px) {
    .tip-option {
        min-width: calc(25% - 6px);
        padding: 8px 6px;
        font-size: 13px;
    }
    
    .tip-custom-input .form-control {
        max-width: 100px;
    }
}

/* ============================================
   CHECKOUT INFO CARD STYLES (Phone, Promo)
   ============================================ */

.checkout-info-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.checkout-info-card:hover {
    border-color: #b52d18;
    box-shadow: 0 4px 12px rgba(181, 45, 24, 0.1);
}

/* Completed State - Green */
.checkout-info-card.completed {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #fff 100%);
}

.checkout-info-card.completed:hover {
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.checkout-info-card.completed .info-card-icon {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.checkout-info-card.completed .info-card-edit {
    background: #e8f5e9;
    color: #28a745;
}

.checkout-info-card.completed:hover .info-card-edit {
    background: #28a745;
    color: #fff;
}

.info-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, #b52d18 0%, #d4442e 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.info-card-details {
    flex: 1;
    min-width: 0;
}

.info-card-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
}

.info-card-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.info-card-value .promo-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #b52d18;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 5px;
}

.info-card-value .promo-code {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.info-card-edit {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    transition: all 0.2s ease;
}

.checkout-info-card:hover .info-card-edit {
    background: #b52d18;
    color: #fff;
}

@media (max-width: 576px) {
    .info-card-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 16px;
    }
    
    .info-card-value {
        font-size: 14px;
    }
}

/* ============================================
   ORDER TYPE CARD STYLES
   ============================================ */

.order-type-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.order-type-card:hover {
    border-color: #b52d18;
    box-shadow: 0 4px 12px rgba(181, 45, 24, 0.1);
}

/* Completed State - Green */
.order-type-card.completed {
    border-color: #28a745;
}

.order-type-card.completed:hover {
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.order-type-card.completed .order-type-icon {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.order-type-card.completed .order-type-edit {
    background: #e8f5e9;
    color: #28a745;
}

.order-type-card.completed:hover .order-type-edit {
    background: #28a745;
    color: #fff;
}

.order-type-card-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-type-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #b52d18 0%, #d4442e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.order-type-icon i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.order-type-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.order-type-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.order-type-info .info-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 20px;
}

.order-type-info .info-item i {
    color: #b52d18;
    font-size: 14px;
}

.order-type-edit {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
    transition: all 0.2s ease;
}

.order-type-card:hover .order-type-edit {
    background: #b52d18;
    color: #fff;
}

.order-type-errors {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #fee;
}

.order-type-errors .error-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #dc3545;
    padding: 6px 10px;
    background: #fff5f5;
    border-radius: 6px;
    margin-bottom: 6px;
}

.order-type-errors .error-item:last-child {
    margin-bottom: 0;
}

.order-type-errors .error-item i {
    font-size: 16px;
}

@media (max-width: 576px) {
    .order-type-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
        border-radius: 10px;
    }
    
    .order-type-name {
        font-size: 15px;
    }
    
    .order-type-info {
        gap: 8px;
    }
    
    .order-type-info .info-item {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/* Order Type Modal Selection */
.order-type-selection {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-type-option {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: #fff;
}

.order-type-option:hover {
    border-color: #b52d18;
    background: #fef7f6;
}

.order-type-option.active {
    border-color: #b52d18;
    background: linear-gradient(135deg, #fef7f6 0%, #fdeae8 100%);
}

.order-type-option .option-icon {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.order-type-option .option-icon i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-type-option.active .option-icon {
    background: #b52d18;
    color: #fff;
}

.order-type-option .option-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.order-type-option .option-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    background: #b52d18;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

/* Time Selection Options */
.time-selection-options {
    display: flex;
    gap: 10px;
}

.time-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.time-option:hover {
    border-color: #b52d18;
}

.time-option.active {
    border-color: #b52d18;
    background: #b52d18;
    color: #fff;
}

.time-option .time-option-icon {
    font-size: 18px;
}

.time-option.active .time-option-icon {
    color: #fff;
}

.time-option .time-option-name {
    font-size: 14px;
    font-weight: 600;
}

/* Schedule Inputs */
.schedule-inputs {
    display: flex;
    gap: 15px;
}

.schedule-input-group {
    flex: 1;
}

.schedule-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 6px;
}

@media (max-width: 576px) {
    .order-type-selection {
        flex-direction: column;
    }
    
    .order-type-option {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 15px;
    }
    
    .order-type-option .option-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        font-size: 18px;
    }
    
    .order-type-option .option-check {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .time-selection-options {
        flex-direction: column;
    }
    
    .schedule-inputs {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   DELIVERY ADDRESS STYLES
   ============================================ */

.delivery-address-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.delivery-address-card.selected {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #fff 100%);
}

.delivery-address-card.selected .address-icon-wrap {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.delivery-address-card.selected .address-label-tag {
    background: #28a745;
}

.address-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.address-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #b52d18 0%, #d4442e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.address-details {
    flex: 1;
    min-width: 0;
}

.address-label-tag {
    display: inline-flex;
    align-items: center;
    background: #b52d18;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.address-main {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}

.address-complete {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 6px;
    border-left: 3px solid #b52d18;
}

.address-instructions {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.address-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-address-action {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.btn-address-action:hover {
    background: #b52d18;
    color: #fff;
}

.btn-address-action.btn-delete:hover {
    background: #dc3545;
}

.address-management-btns {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.btn-change-address {
    flex: 1;
    background: #fff;
    border: 2px solid #b52d18;
    color: #b52d18;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-change-address:hover {
    background: #b52d18;
    color: #fff;
}

.btn-add-address {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-address:hover {
    border-color: #b52d18;
    color: #b52d18;
}

/* Saved Address List Styles */
.saved-addresses-popover {
    margin: -12px;
}

.saved-addresses-popover .popover-header {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    margin: -12px -12px 0;
    border-radius: 4px 4px 0 0;
}

.saved-addresses-popover .popover-body {
    padding: 10px 0;
}

.saved-addresses-popover .popover-footer {
    padding: 12px 15px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    margin: 0 -12px -12px;
    border-radius: 0 0 4px 4px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.saved-address-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
}

.saved-address-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.saved-address-item:hover {
    border-color: #b52d18;
    background: #fef7f6;
}

.saved-address-item.active {
    border-color: #b52d18;
    background: #fef7f6;
}

.saved-address-radio {
    padding-top: 2px;
}

.radio-indicator {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.radio-indicator.checked {
    background: #b52d18;
    border-color: #b52d18;
    color: #fff;
}

.radio-indicator.checked i {
    font-size: 12px;
}

.saved-address-info {
    flex: 1;
    min-width: 0;
}

.saved-address-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
}

.saved-address-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Mobile Modal Styles */
.saved-address-list-mobile {
    margin: -10px -15px;
    padding: 10px 15px;
}

.saved-addresses-modal .el-dialog__footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

@media (max-width: 576px) {
    .address-card-inner {
        flex-wrap: wrap;
    }
    
    .address-icon-wrap {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 18px;
    }
    
    .address-details {
        flex: 1 1 calc(100% - 100px);
    }
    
    .address-actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
    
    .address-management-btns {
        flex-direction: column;
    }
    
    .btn-change-address,
    .btn-add-address {
        width: 100%;
    }
    
    .saved-address-item {
        padding: 10px;
    }
    
    .saved-address-label {
        font-size: 13px;
    }
    
    .saved-address-text {
        font-size: 12px;
    }
}

/* ============================================
   DIGITAL WALLET STYLES
   ============================================ */

.digital-wallet-section {
    margin-bottom: 20px;
}

.wallet-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-card:hover {
    border-color: #b52d18;
    box-shadow: 0 4px 12px rgba(181, 45, 24, 0.15);
}

.wallet-card.wallet-active {
    background: linear-gradient(135deg, #f0fff4 0%, #e8f5e9 100%);
    border-color: #28a745;
}

.wallet-card.wallet-active .wallet-icon-wrap {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.wallet-card.wallet-active .custom-toggle.active {
    background: #28a745;
}

.wallet-card.wallet-active .wallet-message {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* Warning State - Insufficient Balance */
.wallet-card.wallet-warning {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-color: #dc3545;
}

.wallet-card.wallet-warning .wallet-icon-wrap {
    background: linear-gradient(135deg, #dc3545 0%, #e74c5c 100%);
}

.wallet-card.wallet-warning .custom-toggle.active {
    background: #dc3545;
}

.wallet-card.wallet-warning .wallet-message {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.wallet-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-icon-wrap {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #b52d18 0%, #d4442e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.wallet-details {
    display: flex;
    flex-direction: column;
}

.wallet-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.wallet-balance {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.wallet-toggle {
    padding-left: 15px;
}

.custom-toggle {
    width: 50px;
    height: 28px;
    background: #ccc;
    border-radius: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.custom-toggle.active {
    background: #b52d18;
}

.toggle-slider {
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.custom-toggle.active .toggle-slider {
    left: 25px;
}

.wallet-message {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(181, 45, 24, 0.1);
    border-radius: 8px;
    color: #b52d18;
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 576px) {
    .wallet-icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .wallet-balance {
        font-size: 18px;
    }
    
    .custom-toggle {
        width: 44px;
        height: 24px;
    }
    
    .toggle-slider {
        width: 18px;
        height: 18px;
    }
    
    .custom-toggle.active .toggle-slider {
        left: 23px;
    }
}

/* ============================================
   COD CHANGE AMOUNT STYLES
   ============================================ */

.cod-change-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.cod-quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-cod-option {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 80px;
    text-align: center;
}

.btn-cod-option:hover {
    border-color: #b52d18;
    color: #b52d18;
}

.btn-cod-option.active {
    background: #b52d18;
    border-color: #b52d18;
    color: #fff;
}

.cod-custom-input {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e0e0e0;
}

.cod-custom-input .input-group-text {
    background: #f8f9fa;
    border-color: #e0e0e0;
    font-weight: 600;
}

@media (max-width: 576px) {
    .btn-cod-option {
        flex: 0 0 calc(50% - 4px);
        min-width: auto;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .btn-cod-option:last-child {
        flex: 0 0 100%;
    }
}

/* Delete Payment Button */
.btn-delete-payment {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    background: transparent;
    transition: all 0.2s ease;
    font-size: 18px;
}

.btn-delete-payment:hover {
    color: #dc3545;
    background: #ffeaea;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .payment-radio-indicator {
        width: 20px;
        height: 20px;
    }
    
    .add-payment-modal .el-dialog {
        width: 95% !important;
        margin: 10px auto;
    }
    
    .btn-delete-payment {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}