.delivery-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    padding: 0;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: visible; /* 띠지가 보이도록 변경 */
    align-items: stretch;
    min-height: 120px; /* 카드 최소 높이 설정 */
}

.delivery-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.delivery-card__image {
    flex-shrink: 0;
    width: 25%;
    /* height: 100%; */
    border-radius: 8px 0 0 8px;
    overflow: visible; /* 띠지가 보이도록 변경 */
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.delivery-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px 0 0 8px;
}

.delivery-card:hover .delivery-card__img {
    transform: scale(1.05);
}

.delivery-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff6b6b;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* 할인 뱃지 스타일 */
.discount-menu-badge {
    position: absolute;
    top: -8px;
    right: 52px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
    z-index: 14;
    white-space: nowrap;
    text-align: center;
    border: 2px solid white;
}

/* 세트메뉴 모던 뱃지 스타일 */
.set-menu-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 15;
    white-space: nowrap;
    text-align: center;
    border: 2px solid white;
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        transform: scale(1);
    }
    to {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        transform: scale(1.05);
    }
}

.set-menu-badge:before {
    content: '✨';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.6; transform: translateY(-50%) rotate(0deg); }
    50% { opacity: 1; transform: translateY(-50%) rotate(180deg); }
}

.delivery-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px;
}

.delivery-card__header {
    margin: 0;
}

.delivery-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #2d3436;
}

/* 카드 전체를 링크로 만들기 위한 스타일 */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

.delivery-card__title:hover {
    color: #0984e3;
}

.delivery-card__rating {
    margin: 2px 0;
}

.rating-info {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #636e72;
    gap: 8px;
}

.rating-section {
    display: flex;
    align-items: center;
    background: rgba(255, 193, 7, 0.15);
    padding: 4px 8px;
    border-radius: 12px;
    gap: 4px;
}

.view-section {
    display: flex;
    align-items: center;
    background: rgba(74, 144, 226, 0.15);
    padding: 4px 8px;
    border-radius: 12px;
    gap: 4px;
}

.rating-section .rating-star {
    color: #FFC107;
    font-size: 11px;
    vertical-align: middle;
    line-height: 1;
}

.rating-section .rating-text {
    font-weight: 600;
    color: #2d3436;
    font-size: 11px;
}

.rating-section .review-count {
    color: #636e72;
    font-size: 11px;
}

.view-section .view-icon {
    color: #4a90e2;
    font-size: 11px;
}

.view-section .view-count {
    color: #2d3436;
    font-weight: 500;
    font-size: 11px;
}

.delivery-card__info {
    margin: 0;
}

.delivery-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.delivery-time-info, .min-order-info {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    width: fit-content;
}

.delivery-icon {
    color: #0984e3;
    margin-right: 4px;
    font-size: 12px;
}

.delivery-time-text, .min-order-text {
    font-size: 12px;
    font-weight: 600;
    color: #2d3436;
}

/* 메인 페이지 스타일 */
.more-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    margin: 30px auto;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: white;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
    margin: 30px 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #667eea;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
    color: #667eea;
    font-size: 20px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .delivery-card {
        flex-direction: row;
        padding: 0;
    }
    
    .delivery-card__image {
        width: 33%;
        /* height: 100%; */
        margin-bottom: 0;
        flex-shrink: 0;
        display: flex;
        align-items: stretch;
    }
    
    .discount-menu-badge {
        padding: 4px 8px;
        font-size: 8px;
        top: -12px;
        right: 65px;
    }

    .set-menu-badge {
        padding: 4px 10px;
        font-size: 8px;
        top: -12px;
        right: 0px;
    }
    
    .delivery-card__title {
        font-size: 15px;
    }
    
    .rating-info {
        font-size: 12px;
        gap: 4px;
    }
    
    .rating-section, .view-section {
        padding: 2px 5px;
    }
    
    .rating-star {
        font-size: 11px;
    }
    
    .rating-text {
        font-size: 11px;
    }
    
    .review-count {
        font-size: 10px;
    }
    
    .view-icon {
        font-size: 10px;
    }
    
    .view-count {
        font-size: 10px;
    }
    
    .delivery-card__badges {
        gap: 6px;
    }
    
    .delivery-time-info, .min-order-info {
        padding: 3px 6px;
    }
    
    .delivery-time-text, .min-order-text {
        font-size: 11px;
    }
}

/* Set Menu Detail Page Styles */
.product__details__pic {
    position: relative;
}

.product__details__info {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: #666;
}

.info-value {
    font-weight: 700;
    color: #333;
}

.product__details__about {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-left: 4px solid #7b61ff;
    border-radius: 0 8px 8px 0;
}

.product__details__about h6 {
    color: #7b61ff;
    font-weight: 700;
    margin-bottom: 10px;
}

.primary-btn-wrapper {
    margin: 30px 0;
    text-align: center;
}

.order-btn {
    background: linear-gradient(135deg, #7b61ff 0%, #9c7fff 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 97, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 97, 255, 0.6);
    background: linear-gradient(135deg, #6b51ef 0%, #8c6fff 100%);
}

.order-btn:active {
    transform: translateY(0);
}

.order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.info-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-section h6 {
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 2px solid #7b61ff;
    padding-bottom: 5px;
}

.info-section p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Rating Stars */
.rating-stars {
    display: inline-block;
    margin-right: 10px;
}

.rating-stars .fa-star {
    color: #ffc107;
}

.rating-stars .fa-star-o {
    color: #ddd;
}

/* Set Menu Detail Responsive Design */
@media (max-width: 768px) {
    
    .set-menu-badge span {
        font-size: 0.7rem;
        padding: 6px 12px 6px 8px;
    }
    
    .order-btn {
        width: 100%;
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-label,
    .info-value {
        text-align: left;
    }
    
    .product__details__about,
    .product__details__info,
    .info-section {
        margin: 15px 0;
        padding: 12px;
    }
}

/* delivery-item과 동일한 배지 스타일 */
.product-rating {
    margin: 8px 0;
}

.rating-info {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #636e72;
    gap: 8px;
}

.rating-section {
    display: flex;
    align-items: center;
    background: rgba(255, 193, 7, 0.15);
    padding: 4px 8px;
    border-radius: 12px;
    gap: 4px;
}

.view-section {
    display: flex;
    align-items: center;
    background: rgba(74, 144, 226, 0.15);
    padding: 4px 8px;
    border-radius: 12px;
    gap: 4px;
}

.rating-section .rating-star {
    color: #FFC107;
    font-size: 11px;
    vertical-align: middle;
    line-height: 1;
}

.rating-section .rating-text {
    font-weight: 600;
    color: #2d3436;
    font-size: 11px;
}

.rating-section .review-count {
    color: #636e72;
    font-size: 11px;
}

.view-section .view-icon {
    color: #4a90e2;
    font-size: 11px;
}

.view-section .view-count {
    color: #2d3436;
    font-weight: 500;
    font-size: 11px;
}

.rating-divide {
    color: #ddd;
    margin: 0 4px;
}

.view-icon {
    color: #636e72;
    font-size: 13px;
}

.view-count {
    color: #636e72;
    font-weight: 500;
}

.product-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.delivery-time-info, .min-order-info {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    width: fit-content;
}

.delivery-icon {
    color: #0984e3;
    margin-right: 6px;
    font-size: 14px;
}

.delivery-time-text, .min-order-text {
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .set-menu-badge-detail {
        top: 27px;
        right: 0px;
    }
    
    .rating-info {
        font-size: 13px;
        gap: 3px;
    }
    
    .rating-star {
        font-size: 13px;
    }
    
    .view-icon {
        font-size: 12px;
    }
    
    .product-badges {
        gap: 6px;
    }
    
    .delivery-time-info, .min-order-info {
        padding: 4px 8px;
    }
    
    .delivery-time-text, .min-order-text {
        font-size: 12px;
    }
    
    .delivery-icon {
        font-size: 12px;
    }

    .product__details__about iframe {
        min-height: 300px;
    }
}

/* iframe 반응형 스타일 */
.product__details__about iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: none;
    border-radius: 8px;
}

/* iframe 컨테이너 스타일 */
.product__details__about div {
    overflow: hidden;
    border-radius: 8px;
}

/* Price Breakdown Section Styles */
.price-breakdown-section {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.price-breakdown-title {
    color: #2d3436;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    font-size: 18px;
    border-bottom: 2px solid #7b61ff;
    padding-bottom: 8px;
}

.price-calculation {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.price-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.price-label {
    font-weight: 600;
    color: #636e72;
    font-size: 14px;
}

.price-value {
    font-weight: 700;
    color: #2d3436;
    font-size: 16px;
}

.price-divider {
    text-align: center;
    margin: 8px 0;
    position: relative;
}

.price-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ddd 20%, #ddd 80%, transparent 100%);
    transform: translateY(-50%);
}

.plus-icon {
    background: #7b61ff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(123, 97, 255, 0.3);
    position: relative;
    z-index: 2;
}

.total-price {
    background: linear-gradient(135deg, #7b61ff 0%, #9c7fff 100%) !important;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(123, 97, 255, 0.4);
}

.total-price .price-label,
.total-price .price-value {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.total-value {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .price-breakdown-section {
        margin: 15px 0;
        padding: 15px;
    }
    
    .price-breakdown-title {
        font-size: 16px;
    }
    
    .price-row {
        padding: 6px 10px;
    }
    
    .price-label {
        font-size: 13px;
    }
    
    .price-value {
        font-size: 14px;
    }
    
    .total-price .price-label,
    .total-price .price-value {
        font-size: 16px;
    }
    
    .plus-icon {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}

/* 키오스크 리스트 화면 스타일 */
.list-header {
    margin-bottom: 40px;
}

.list-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 30px 0;
    padding: 0;
}

.nav-switch-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
}

.nav-switch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #374151;
    text-decoration: none;
    border-color: #d1d5db;
}

.list-title-section {
    text-align: center;
}

.list-title {
    font-size: 36px;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.list-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.list-subtitle {
    font-size: 18px;
    color: #636e72;
    margin: 0;
}