.guruuri-popular-tag {
    border-top: 0 none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 19px;
    padding: 32px 0 0 0;
    margin: 0 0 15px 0;
    list-style: none;
}

.guruuri-popular-tag li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.guruuri-popular-tag li a {
    display: inline-block;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 999px;
    padding: 11px 25px;
    color: #222;
    font-size: 1.428rem;
    font-weight: 500;
    line-height: 1.1;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.guruuri-popular-tag li a:hover {
    border-color: #ea2d8b;
    color: #ea2d8b;
}

.guruuri-popular-tag li.active a,
.guruuri-popular-tag li a.active {
    background: #6d4b37;
    color: #fff;
    border-color: #6d4b37;
    font-weight: 700;
}

.guruuri-popular-tag li::before {
    content: "" !important;
    display: none;
}

#main-category-list .swiper-slide {
    margin: 0 !important;
    text-align: center;
}

.guruuri-posts .guruuri-post {
    display: flex;
    flex: 1;
}

.guruuri-posts .guruuri-post .thumbnail {
    width: 50%;
}

.guruuri-posts .guruuri-post .post-title {
    width: 50%;
}

@media only screen and (min-width: 992px) {
    .guruuri-popular-tag {
        padding-top: 0;
    }
}

@media only screen and (max-width: 991px) {
    .guruuri-popular-tag {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* 모바일 태블릿 버전 */
@media only screen and (max-width: 768px) {
    .guruuri-popular-tag {
        gap: 10px 12px;
        padding: 24px 0 0 0;
    }

    .guruuri-popular-tag li a {
        padding: 8px 16px;
        font-size: 1.2rem;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* 모바일 버전 */
@media only screen and (max-width: 480px) {
    .guruuri-popular-tag {
        gap: 8px 10px;
        padding: 16px 0 0 0;
    }

    .guruuri-popular-tag li a {
        padding: 8px 16px;
        font-size: 1.2rem;
    }
}

.reservation--container input[type=text],
.reservation--container input[type=number] {
    width: 215px;
    display: inline-block;
    margin: 0;
    padding: 10px;
    border-radius: 5px;
    background: #F2F2F2;
    border: 1px solid rgba(0, 0, 0, .1);
    box-sizing: border-box;
}

.reservation--container {
    margin-top: 15px;
    display: none;
    position: relative;
    border: 5px solid rgba(0, 0, 0, .05);
    background: #fff;
    padding: 20px;
    overflow: hidden;
}

.reservation--container .afTagBox__title {
    margin: 0 0 3%;
    font-size: 2rem;
    font-weight: 700;
}



.btn__reservation,
.btn__coupon {
    margin-top: 15px;
    cursor: pointer;
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    background: #ea2d8b;
    border: 1px solid rgba(0, 0, 0, .1);
    color: #ffffff;
}

.btn__submit {
    cursor: pointer;
    margin-top: 3%;
}

.btn__increase,
.btn__decrease {
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    background: #ea2d8b;
    border: 1px solid rgba(0, 0, 0, .1);
    color: #ffffff;
}

@media (max-width: 768px) {
    .reservation-list table th,
    .reservation-list table td {
        display: block;
    }
}/* Frontend styles for Guruuri Stripe Pay plugin */

.guruuri-stripe-payment-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.payment-details {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.payment-details h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.payment-details .amount {
    font-size: 24px;
    font-weight: bold;
    color: #2271b1;
    margin: 0;
}

.guruuri-payment-form {
    margin-bottom: 20px;
}

.card-element {
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
    min-height: 40px;
}

.card-element:focus,
.card-element:focus-within {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.card-element.StripeElement--invalid {
    border-color: #e74c3c;
}

.card-element.StripeElement--focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.card-errors {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 20px;
}

.submit-payment {
    width: 100%;
    background: #2271b1;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.submit-payment:hover {
    background: #1e5a8a;
}

.submit-payment:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.submit-payment .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

.hidden {
    display: none !important;
}

.payment-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-weight: 500;
}

.payment-result .success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.payment-result .error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.guruuri-stripe-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 600px) {
    .guruuri-stripe-payment-form {
        margin: 10px;
        padding: 15px;
    }

    .payment-details h3 {
        font-size: 18px;
    }

    .payment-details .amount {
        font-size: 20px;
    }
}

/* Stripe Elements styling enhancements */
.StripeElement {
    height: 40px;
    padding: 10px 12px;
    color: #32325d;
    background-color: white;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

/* Security notice */
.security-notice {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.security-notice::before {
    content: "🔒 ";
}

/* Payment form variations */
.guruuri-stripe-payment-form.compact {
    max-width: 400px;
    padding: 15px;
}

.guruuri-stripe-payment-form.wide {
    max-width: 600px;
}