/**
 * WCO Deal System - Public CSS
 */

/* Cards Grid */
.wco-deals-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 30px 0;
}

/* Single Deal Card */
.wco-deal-card {
    width: 320px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding-bottom: 60px;
}

.wco-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Card Image */
.wco-deal-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Card Content */
.wco-deal-content {
    padding: 16px;
}

.wco-deal-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 8px;
}

.wco-deal-title a {
    text-decoration: none;
    color: #333;
}

.wco-deal-title a:hover {
    color: #e53935;
}

.wco-deal-city {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.wco-deal-offer-title {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
}

.wco-deal-price {
    font-size: 22px;
    font-weight: bold;
    color: #2ecc71;
    margin: 12px 0;
}

.wco-deal-price strong {
    font-size: 24px;
}

.wco-deal-coupon-count {
    font-size: 13px;
    color: #777;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wco-deal-coupon-count .wco-icon-coupon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e53935;
}

.wco-deal-coupon-count .wco-icon-coupon {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    flex: 0 0 12px;
}

.wco-deal-coupon-count .wco-icon-coupon svg {
    width: 12px;
    height: 12px;
    display: block;
    fill: currentColor;
}

/* Button */
.wco-deal-button {
    display: inline-block;
    background-color: #e53935;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.wco-deal-button:hover {
    background-color: #c62828;
    color: #fff;
}

/* Card Actions (Like, Favorite, Share) */
.wco-card-actions {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 5;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.wco-like-toggle,
.wco-favorite-toggle,
.wco-share-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 24px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    color: #2f3137;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.wco-like-toggle:hover,
.wco-favorite-toggle:hover,
.wco-share-toggle:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
    transform: translateY(-1px);
}

.wco-like-toggle:focus-visible,
.wco-favorite-toggle:focus-visible,
.wco-share-toggle:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.wco-like-toggle .wco-icon-heart,
.wco-favorite-toggle .wco-icon-bookmark,
.wco-share-toggle .wco-icon-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: currentColor;
}

.wco-like-toggle .wco-icon-heart svg,
.wco-favorite-toggle .wco-icon-bookmark svg,
.wco-share-toggle .wco-icon-share svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.wco-share-toggle .wco-icon-share {
    color: #2f3137;
}

.wco-like-toggle.liked {
    border-color: rgba(229, 57, 53, 0.35);
    background: rgba(229, 57, 53, 0.08);
    color: #e53935;
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.14);
}

.wco-like-toggle.liked .wco-icon-heart,
.wco-like-toggle.liked .wco-likes-count {
    color: #e53935;
}

.wco-favorite-toggle.favorited {
    border-color: rgba(241, 196, 15, 0.38);
    background: rgba(241, 196, 15, 0.12);
    color: #d4a500;
    box-shadow: 0 6px 16px rgba(241, 196, 15, 0.16);
}

.wco-favorite-toggle.favorited .wco-icon-bookmark,
.wco-favorite-toggle.favorited .wco-favorites-count {
    color: #d4a500;
}

.wco-likes-count,
.wco-favorites-count,
.wco-shares-count {
    font-weight: 500;
    color: #555;
}

/* ===== Animazioni Like / Favorite ===== */

.wco-like-toggle.is-like-animating .wco-icon-heart {
    animation: wcoHeartPop .4s ease;
}

.wco-like-toggle.is-like-animating .wco-likes-count {
    animation: wcoCountPop .3s ease;
}

.wco-favorite-toggle.is-favorite-animating .wco-icon-bookmark {
    animation: wcoBookmarkBounce .45s ease;
}

.wco-favorite-toggle.is-favorite-animating .wco-favorites-count {
    animation: wcoCountPop .3s ease;
}

/* Cuore */
@keyframes wcoHeartPop {
    0% { transform: scale(1); }
    35% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Bookmark */
@keyframes wcoBookmarkBounce {
    0% { transform: scale(1) translateY(0); }
    30% { transform: scale(1.2) translateY(-3px); }
    55% { transform: scale(0.95) translateY(1px); }
    100% { transform: scale(1) translateY(0); }
}

/* Numeri */
@keyframes wcoCountPop {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

.wco-like-toggle.is-like-animating {
    animation: wcoLikeGlow .45s ease;
}

.wco-favorite-toggle.is-favorite-animating {
    animation: wcoFavoriteGlow .5s ease;
}

@keyframes wcoLikeGlow {
    0% {
        box-shadow: 0 0 0 rgba(229, 57, 53, 0);
    }
    35% {
        box-shadow: 0 0 0 6px rgba(229, 57, 53, 0.12), 0 0 18px rgba(229, 57, 53, 0.22);
    }
    100% {
        box-shadow: 0 0 0 rgba(229, 57, 53, 0);
    }
}

@keyframes wcoFavoriteGlow {
    0% {
        box-shadow: 0 0 0 rgba(241, 196, 15, 0);
    }
    35% {
        box-shadow: 0 0 0 6px rgba(241, 196, 15, 0.14), 0 0 18px rgba(241, 196, 15, 0.22);
    }
    100% {
        box-shadow: 0 0 0 rgba(241, 196, 15, 0);
    }
}

/* Floating Social Icons */
.wco-floating-social {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    background: rgba(255,255,255,0.95);
    padding: 12px 8px;
    border-radius: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border: 1px solid #eee;
}

.wco-floating-social .wco-like-toggle,
.wco-floating-social .wco-favorite-toggle,
.wco-floating-social .wco-share-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-direction: column;
    justify-content: center;
    padding: 8px;
    gap: 4px;
}

.wco-floating-social .wco-like-toggle .wco-icon-heart,
.wco-floating-social .wco-favorite-toggle .wco-icon-bookmark,
.wco-floating-social .wco-share-toggle .wco-icon-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.wco-floating-social .wco-like-toggle .wco-icon-heart svg,
.wco-floating-social .wco-favorite-toggle .wco-icon-bookmark svg,
.wco-floating-social .wco-share-toggle .wco-icon-share svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
}

.wco-floating-social .wco-likes-count,
.wco-floating-social .wco-favorites-count,
.wco-floating-social .wco-shares-count {
    font-size: 11px;
}

/* Share Dropdown */
.wco-share-dropdown {
    position: fixed;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 12px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wco-share-dropdown a,
.wco-share-dropdown button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.wco-share-dropdown a:hover,
.wco-share-dropdown button:hover {
    background-color: #f5f5f5;
}

.wco-share-dropdown .wco-icon,
.wco-share-dropdown svg {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    fill: currentColor;
    flex: 0 0 16px;
}

.wco-share-close {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px;
    font-size: 14px;
    color: #999;
}

/* Login Required Message */
.wco-login-message {
    position: fixed;
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 20px));
    right: 20px;
    background: #fff;
    border-left: 4px solid #e53935;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10040;
    animation: slideIn 0.3s ease-out;
}

.wco-login-message a {
    color: #e53935;
    text-decoration: underline;
}

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

/* Slider Styles */
.wco-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.wco-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.wco-slide {
    flex: 0 0 100%;
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.wco-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px;
    color: #fff;
}

.wco-slider-prev,
.wco-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 18px;
}

.wco-slider-prev {
    left: 10px;
}

.wco-slider-next {
    right: 10px;
}

/* Map Styles */
.wco-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin: 20px 0;
}

/* Add margin to avoid overlap with sticky CTA */
.single-wco_deal .wco-single-map-embed {
    margin-bottom: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .wco-deal-card {
        width: calc(100% - 20px);
        max-width: 320px;
    }
    
    .wco-floating-social {
        right: 10px;
        gap: 8px;
        padding: 8px 6px;
    }
    
    .wco-floating-social .wco-like-toggle,
    .wco-floating-social .wco-favorite-toggle,
    .wco-floating-social .wco-share-toggle {
        width: 44px;
        height: 44px;
    }
    
    .wco-floating-social .wco-like-toggle .wco-icon-heart svg,
    .wco-floating-social .wco-favorite-toggle .wco-icon-bookmark svg,
    .wco-floating-social .wco-share-toggle .wco-icon-share svg {
        width: 18px;
        height: 18px;
    }
    
    .wco-slide {
        min-height: 300px;
    }
    
    .wco-slide-overlay h2 {
        font-size: 18px;
    }
}
/* Merchant Dashboard v2 */
.wco-merchant-dashboard-v2 {
    max-width: 1140px;
    margin: 32px auto 56px;
    padding: 0 16px;
    color: #1f2937;
}

.wco-merchant-hero,
.wco-dashboard-panel,
.wco-merchant-plan-bar {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.06);
}

.wco-merchant-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 28px 32px;
    margin-bottom: 18px;
}

.wco-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #e53935;
    margin-bottom: 10px;
}

.wco-merchant-title {
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 10px;
    color: #111827;
}

.wco-merchant-subtitle {
    margin: 0;
    max-width: 700px;
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
}

.wco-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    min-width: 280px;
}

.wco-button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.wco-button-primary,
.wco-button-secondary,
.wco-button-small {
    text-decoration: none;
}

.wco-button-primary.wco-button-large,
.wco-button-primary {
    background: linear-gradient(135deg, #ff5d52 0%, #e53935 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(229, 57, 53, 0.18);
}

.wco-button-primary:hover,
.wco-button-primary:focus {
    color: #fff;
    opacity: .95;
}

.wco-button-secondary.wco-button-large,
.wco-button-secondary {
    background: #fff7ef;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.wco-button-secondary:hover,
.wco-button-secondary:focus {
    color: #9a3412;
    background: #ffedd5;
}

.wco-merchant-plan-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 22px;
}

.wco-plan-warning-text {
    color: #b45309;
    font-weight: 700;
}

.wco-dashboard-alert {
    margin-bottom: 18px;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 600;
}

.wco-dashboard-alert-warning {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.wco-merchant-top-grid,
.wco-merchant-bottom-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    margin-bottom: 22px;
}

.wco-dashboard-panel {
    padding: 26px 28px;
}

.wco-badge-panel {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wco-badge-panel-heading {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
}

.wco-badge-panel-image {
    max-width: 160px;
    height: auto;
    margin-bottom: 18px;
}

.wco-badge-next-text {
    max-width: 230px;
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}

.wco-progress-panel h3,
.wco-offers-panel h3,
.wco-ranking-panel h3,
.wco-redeem-panel h3,
.wco-business-panel h3 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.2;
    color: #111827;
}

.wco-progress-wrap {
    margin-top: 18px;
}

.wco-progress-track {
    position: relative;
    height: 18px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: visible;
}

.wco-progress-track::before,
.wco-progress-track::after {
    content: "";
    position: absolute;
    top: 0;
    width: 2px;
    height: 18px;
    background: rgba(255, 255, 255, .55);
}

.wco-progress-track::before { left: 25%; }
.wco-progress-track::after { left: 75%; }

.wco-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #fcb045 0%, #fd7e14 50%, #e53935 100%);
}

.wco-progress-medal {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    font-size: 18px;
}

.wco-progress-summary {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.wco-merchant-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.wco-stat-box {
    padding: 18px;
    border-radius: 16px;
    background: #fffaf5;
    border: 1px solid #fde7d2;
}

.wco-stat-box-label {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: #6b7280;
    margin-bottom: 6px;
}

.wco-stat-box strong {
    font-size: 22px;
    color: #111827;
}

.wco-progress-note,
.wco-section-header p {
    margin: 14px 0 0;
    color: #6b7280;
    line-height: 1.65;
}

.wco-section-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.wco-section-header.compact {
    margin-bottom: 18px;
}

.wco-offers-counter {
    min-width: 72px;
    text-align: center;
    font-weight: 800;
    font-size: 18px;
    color: #111827;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: 10px 14px;
}

.wco-deals-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wco-deals-cards .wco-deal-card {
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 20px;
    background: #fff;
}

.wco-deals-cards .wco-deal-card.status-draft,
.wco-deals-cards .wco-deal-card.status-pending {
    background: #fffdf8;
}

.wco-deals-cards .wco-deal-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.wco-deals-cards .wco-deal-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: #fff7ed;
    color: #9a3412;
}

.wco-deals-cards .wco-deal-card.status-publish .wco-deal-status {
    background: #ecfdf3;
    color: #047857;
}

.wco-deals-cards .wco-deal-price {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}

.wco-deals-cards .wco-deal-card h4 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    color: #111827;
}

.wco-deals-cards .wco-deal-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
}

.wco-deals-cards .wco-deal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wco-deal-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
}

.wco-deal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wco-button-secondary,
.wco-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    font-weight: 700;
}

.wco-limit-banner {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 16px;
    padding: 16px 18px;
    font-weight: 700;
}

.wco-empty-state {
    text-align: center;
    padding: 38px 24px;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    background: #fafafa;
}

.wco-empty-state.small {
    padding: 24px 20px;
}

.wco-empty-state h4 {
    margin: 0 0 10px;
    font-size: 22px;
}

.wco-empty-state p {
    margin: 0 0 16px;
    color: #6b7280;
}

.wco-ranking-panel .wco-merchant-ranking {
    max-width: none;
    margin: 0;
}

.wco-redeem-panel .wco-redeem-coupon-form {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.wco-redeem-panel .wco-redeem-coupon-form h3 {
    display: none;
}

.wco-business-details {
    display: grid;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.wco-business-details strong {
    color: #111827;
}

.wco-business-actions {
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .wco-merchant-top-grid,
    .wco-merchant-bottom-grid,
    .wco-deals-cards,
    .wco-merchant-stat-grid {
        grid-template-columns: 1fr;
    }

    .wco-merchant-hero,
    .wco-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .wco-hero-actions {
        justify-content: flex-start;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .wco-merchant-dashboard-v2 {
        margin-top: 20px;
        padding: 0 12px;
    }

    .wco-merchant-hero,
    .wco-dashboard-panel {
        padding: 20px;
        border-radius: 16px;
    }

    .wco-merchant-title {
        font-size: 28px;
    }

    .wco-progress-panel h3,
    .wco-offers-panel h3,
    .wco-ranking-panel h3,
    .wco-redeem-panel h3,
    .wco-business-panel h3 {
        font-size: 24px;
    }

    .wco-deal-card h4 {
        font-size: 20px;
    }

    .wco-merchant-plan-bar {
        padding: 14px 16px;
    }
}

/* Merchant Dashboard modern refresh */
.wco-merchant-dashboard-modern {
    max-width: 1180px;
}

.wco-merchant-dashboard-modern .wco-merchant-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #fff7f4 100%);
    border-color: #f7d7d2;
}

.wco-merchant-dashboard-modern .wco-merchant-hero::after {
    content: "";
    position: absolute;
    inset: auto -60px -90px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,57,53,0.14) 0%, rgba(229,57,53,0) 72%);
    pointer-events: none;
}

.wco-merchant-dashboard-modern .wco-merchant-hero-copy,
.wco-merchant-dashboard-modern .wco-hero-actions {
    position: relative;
    z-index: 1;
}

.wco-merchant-dashboard-modern .wco-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.wco-merchant-dashboard-modern .wco-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    border: 1px solid #f3d3ce;
    color: #4b5563;
    font-size: 14px;
    backdrop-filter: blur(8px);
}

.wco-merchant-dashboard-modern .wco-merchant-plan-bar {
    background: #fff;
    border-color: #f1e8e6;
}

.wco-merchant-dashboard-modern .wco-plan-stat {
    min-width: 170px;
}

.wco-merchant-dashboard-modern .wco-plan-stat-label {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.wco-merchant-overview-shell {
    margin-bottom: 22px;
}

.wco-merchant-dashboard-modern .wco-merchant-top-grid {
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: stretch;
}

.wco-merchant-dashboard-modern .wco-badge-panel {
    background: linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
    border-color: #f3d8cf;
}

.wco-merchant-dashboard-modern .wco-progress-panel {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf8 100%);
}

.wco-merchant-dashboard-modern .wco-merchant-stat-grid {
    margin-top: 22px;
}

.wco-merchant-dashboard-modern .wco-stat-box {
    background: #fff;
    border-color: #f4ded7;
    box-shadow: 0 8px 18px rgba(17,24,39,0.04);
}

.wco-merchant-dashboard-modern .wco-offers-panel,
.wco-merchant-dashboard-modern .wco-ranking-panel,
.wco-merchant-dashboard-modern .wco-redeem-panel,
.wco-merchant-dashboard-modern .wco-business-panel {
    background: #fff;
}

.wco-merchant-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wco-merchant-offer-card {
    position: relative;
    border: 1px solid #efefef;
    border-radius: 18px;
    padding: 22px;
    background: linear-gradient(180deg, #fff 0%, #fcfcfc 100%);
    box-shadow: 0 10px 22px rgba(17,24,39,0.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.wco-merchant-offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17,24,39,0.08);
    border-color: #f4c7c1;
}

.wco-merchant-offer-card.status-draft,
.wco-merchant-offer-card.status-pending {
    background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
}

.wco-merchant-offer-card.status-publish {
    background: linear-gradient(180deg, #fafffb 0%, #fff 100%);
}

.wco-merchant-offer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.wco-merchant-offer-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    background: #fff7ed;
    color: #9a3412;
}

.wco-merchant-offer-card.status-publish .wco-merchant-offer-status {
    background: #ecfdf3;
    color: #047857;
}

.wco-merchant-offer-card.status-private .wco-merchant-offer-status {
    background: #f3f4f6;
    color: #374151;
}

.wco-merchant-offer-price {
    font-size: 21px;
    font-weight: 800;
    color: #111827;
}

.wco-merchant-offer-card h4 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.28;
    color: #111827;
}

.wco-merchant-offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
}

.wco-merchant-offer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wco-merchant-dashboard-modern .wco-ranking-panel .wco-ranking-table,
.wco-merchant-dashboard-modern .wco-ranking-panel .wco-coupons-table {
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
}

.wco-merchant-dashboard-modern .wco-ranking-panel table th,
.wco-merchant-dashboard-modern .wco-ranking-panel table td {
    padding: 14px 16px;
}

.wco-business-details-modern {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wco-business-detail-item {
    padding: 16px 18px;
    border: 1px solid #efe7e4;
    border-radius: 16px;
    background: #fffaf8;
}

.wco-business-detail-label {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.wco-business-detail-item strong {
    display: block;
    color: #111827;
    font-size: 16px;
    line-height: 1.5;
}

.wco-merchant-dashboard-modern .wco-limit-banner {
    margin-top: 24px;
}

.wco-merchant-dashboard-modern .wco-redeem-panel .wco-redeem-coupon-form input[type="text"],
.wco-merchant-dashboard-modern .wco-redeem-panel .wco-redeem-coupon-form input[type="search"],
.wco-merchant-dashboard-modern .wco-redeem-panel .wco-redeem-coupon-form input[type="email"],
.wco-merchant-dashboard-modern .wco-redeem-panel .wco-redeem-coupon-form input[type="number"] {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 0 14px;
}

.wco-merchant-dashboard-modern .wco-redeem-panel .wco-redeem-coupon-form button,
.wco-merchant-dashboard-modern .wco-redeem-panel .wco-redeem-coupon-form input[type="submit"] {
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    padding: 0 18px;
    background: linear-gradient(135deg, #ff5d52 0%, #e53935 100%);
    color: #fff;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .wco-merchant-offers-grid,
    .wco-business-details-modern,
    .wco-merchant-dashboard-modern .wco-merchant-top-grid,
    .wco-merchant-dashboard-modern .wco-merchant-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .wco-merchant-dashboard-modern .wco-merchant-hero {
        padding: 22px 20px;
    }

    .wco-merchant-dashboard-modern .wco-merchant-title {
        font-size: 30px;
    }

    .wco-merchant-dashboard-modern .wco-meta-chip {
        width: 100%;
        justify-content: space-between;
    }

    .wco-merchant-dashboard-modern .wco-offers-counter {
        min-width: 0;
    }

    .wco-merchant-offer-card h4 {
        font-size: 21px;
    }
}

/* Customer Dashboard modern refresh */
.wco-customer-dashboard-modern {
    max-width: 1180px;
    margin: 28px auto 40px;
    padding: 0 16px;
}

.wco-customer-hero,
.wco-customer-dashboard-modern .wco-dashboard-panel {
    background: #fff;
    border: 1px solid #eee5e2;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(17,24,39,0.05);
}

.wco-customer-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #fff 0%, #fff8f6 100%);
    position: relative;
    overflow: hidden;
}

.wco-customer-hero::after {
    content: "";
    position: absolute;
    inset: auto -60px -90px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,57,53,0.12) 0%, rgba(229,57,53,0) 72%);
}

.wco-customer-hero-copy,
.wco-customer-hero-actions { position: relative; z-index: 1; }
.wco-customer-hero-copy { max-width: 760px; }
.wco-customer-title {
    margin: 8px 0 10px;
    color: #111827;
    font-size: 40px;
    line-height: 1.12;
}

.wco-customer-subtitle {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
}

.wco-customer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.wco-customer-hero-actions {
    min-width: 250px;
    display: flex;
    justify-content: flex-end;
}

.wco-customer-overview-grid,
.wco-customer-main-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    margin-bottom: 22px;
}

.wco-customer-badge-panel,
.wco-customer-progress-panel,
.wco-customer-coupons-panel,
.wco-customer-favorites-panel,
.wco-customer-account-panel {
    padding: 28px;
}

.wco-customer-main-grid {
    grid-template-columns: minmax(0, 1fr);
}

.wco-customer-badge-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    background: linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
}

.wco-customer-badge-copy {
    width: 100%;
}

.wco-customer-badge-visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.wco-panel-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #e53935;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wco-customer-badge-copy h3,
.wco-customer-progress-panel h3,
.wco-customer-coupons-panel h3,
.wco-customer-favorites-panel h3,
.wco-customer-account-panel h3 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    line-height: 1.18;
}

.wco-customer-badge-copy p,
.wco-customer-coupons-panel p,
.wco-customer-favorites-panel p {
    color: #6b7280;
    line-height: 1.7;
}

.wco-customer-badge-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.wco-customer-badge-image img {
    max-width: 220px;
    max-height: 220px;
}

.wco-customer-badge-fallback { font-size: 62px; }

.wco-section-header-tight { margin-bottom: 14px; }
.wco-customer-progress-intro {
    margin: 0 0 16px;
    color: #111827;
    font-size: 16px;
    line-height: 1.6;
}

.wco-customer-progress-bar {
    position: relative;
    height: 16px;
    border-radius: 999px;
    overflow: hidden;
    background: #e5e7eb;
}

.wco-customer-progress-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3dbb66 0%, #73d06d 100%);
}

.wco-customer-progress-marker {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(17,24,39,0.08);
}

.wco-customer-progress-marker.is-first { left: 20%; }
.wco-customer-progress-marker.is-second { left: 40%; }
.wco-customer-progress-marker.is-third { left: 60%; }
.wco-customer-progress-marker.is-fourth { left: 80%; }

.wco-customer-progress-note {
    margin-top: 12px;
    color: #374151;
    font-weight: 700;
    line-height: 1.6;
}

.wco-customer-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.wco-customer-dashboard-modern .wco-stat-box {
    background: #fffaf8;
    border: 1px solid #f0dfdb;
    border-radius: 18px;
    padding: 18px;
    box-shadow: none;
}

.wco-stat-box-label {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.wco-customer-dashboard-modern .wco-stat-box strong {
    color: #111827;
    font-size: 28px;
    line-height: 1;
}

.wco-customer-coupon-wallet {
    position: relative;
}

.wco-coupon-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.wco-filter-chip {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #e5d8d4;
    border-radius: 999px;
    background: #fff;
    color: #4b5563;
    font-weight: 700;
    cursor: pointer;
}

.wco-filter-chip.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.wco-coupon-wallet-list {
    display: grid;
    gap: 14px;
}

.wco-coupon-wallet-card[hidden] {
    display: none !important;
}

.wco-coupon-wallet-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid #efe7e4;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #fcfcfc 100%);
}

.wco-coupon-wallet-card.status-active {
    border-color: #d9ecd9;
    background: linear-gradient(180deg, #fbfffb 0%, #fff 100%);
}

.wco-coupon-wallet-card.status-expired {
    background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
}

.wco-coupon-wallet-card.status-redeemed {
    background: linear-gradient(180deg, #fff8f7 0%, #fff 100%);
}

.wco-coupon-wallet-media img,
.wco-coupon-wallet-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    object-fit: cover;
}

.wco-coupon-wallet-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 32px;
}

.wco-coupon-wallet-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.wco-coupon-status-badge,
.wco-disabled-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.wco-coupon-status-badge.status-active { background: #ecfdf3; color: #047857; }
.wco-coupon-status-badge.status-expired,
.wco-disabled-pill.status-expired { background: #f3f4f6; color: #4b5563; }
.wco-coupon-status-badge.status-redeemed,
.wco-disabled-pill.status-redeemed { background: #fff1f0; color: #c62828; }

.wco-coupon-wallet-value {
    color: #111827;
    font-weight: 800;
}

.wco-coupon-wallet-card h4 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 20px;
    line-height: 1.35;
}

.wco-coupon-wallet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 14px;
}

.wco-coupon-wallet-date {
    color: #6b7280;
    font-size: 14px;
}

.wco-coupon-wallet-action { display: flex; align-items: center; }

.wco-coupon-wallet-empty {
    margin-top: 16px;
    padding: 18px;
    border-radius: 18px;
    background: #fff8f7;
    color: #6b7280;
    text-align: center;
}

.wco-coupon-modal[hidden] { display: none; }
.wco-coupon-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.wco-coupon-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
}

.wco-coupon-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 520px);
    margin: 8vh auto 0;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(15,23,42,0.28);
}

.wco-coupon-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.wco-coupon-modal-title {
    margin: 0 0 12px;
    color: #111827;
    font-size: 28px;
    line-height: 1.22;
}

.wco-coupon-modal-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    margin-bottom: 16px;
    padding: 0 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7f4 0%, #fff 100%);
    border: 1px dashed #f1bdb5;
    color: #e53935;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .08em;
}

.wco-coupon-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wco-coupon-modal-grid div {
    padding: 14px 16px;
    border-radius: 16px;
    background: #fafafa;
}

.wco-coupon-modal-grid span,
.wco-account-label {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.wco-coupon-modal-grid strong,
.wco-account-card strong { color: #111827; }

.wco-coupon-modal-address,
.wco-coupon-modal-note {
    color: #4b5563;
    line-height: 1.7;
}

.wco-customer-favorites-shell {
    margin-top: 18px;
}

.wco-customer-favorites-shell .wco-deals-grid {
    margin: 0;
    justify-content: flex-start;
}

.wco-customer-account-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.wco-customer-coupons-panel,
.wco-customer-account-panel {
    width: 100%;
}


.wco-section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wco-customer-profile-avatar-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
}

.wco-customer-profile-avatar {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.wco-customer-profile-avatar.is-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
    font-size: 32px;
    font-weight: 800;
}

.wco-account-card-avatar {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wco-coupon-modal-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 174px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px dashed #f1bdb5;
    border-radius: 18px;
    background: #fffdfd;
}

.wco-coupon-modal-qr > img,
.wco-coupon-modal-qr > canvas {
    max-width: 150px;
    height: auto;
}


.wco-avatar-edit-trigger {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
    cursor: pointer;
}

.wco-customer-profile-avatar-wrap {
    position: relative;
    width: fit-content;
}

.wco-profile-image-uploader {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.wco-profile-image-preview {
    width: 110px;
    height: 110px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #e5d8d4;
    background: #fffaf8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wco-profile-image-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wco-profile-image-preview-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
    font-size: 34px;
    font-weight: 800;
}

.wco-profile-image-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.wco-profile-image-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    border: 0 !important;
}

.wco-profile-image-remove {
    border: 0;
    background: transparent;
    color: #b91c1c;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.wco-profile-image-remove.is-hidden {
    display: none;
}

.wco-profile-image-upload-trigger {
    cursor: pointer;
}

.wco-profile-image-help {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

.wco-account-modal-dialog {
    width: min(92vw, 760px);
}

.wco-account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.wco-account-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wco-account-form-field-full {
    grid-column: 1 / -1;
}

.wco-account-form-field label {
    color: #374151;
    font-size: 14px;
    font-weight: 700;
}

.wco-account-form-field input,
.wco-account-form-field select {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #e5d8d4;
    border-radius: 14px;
    background: #fff;
}

.wco-account-form-field input[type="file"] {
    min-height: auto;
    padding: 12px 14px;
}

.wco-account-form-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.wco-account-form-response {
    margin-top: 14px;
    color: #6b7280;
    min-height: 24px;
}

.wco-account-form-response.is-success { color: #047857; }
.wco-account-form-response.is-error { color: #b91c1c; }

.wco-account-card {
    padding: 18px;
    border: 1px solid #efe7e4;
    border-radius: 18px;
    background: #fffaf8;
}

.wco-empty-state-soft {
    padding: 30px 24px;
    border: 1px dashed #e8d6d1;
    border-radius: 20px;
    background: #fffaf8;
    text-align: center;
}

.wco-empty-state-soft h4 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 24px;
}

.wco-empty-state-soft p {
    max-width: 540px;
    margin: 0 auto 16px;
    color: #6b7280;
}

html.wco-modal-open { overflow: hidden; }

@media (max-width: 1024px) {
    .wco-customer-overview-grid,
    .wco-customer-account-grid,
    .wco-customer-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wco-customer-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .wco-customer-hero-actions {
        justify-content: flex-start;
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .wco-customer-dashboard-modern {
        padding: 0 12px;
    }

    .wco-customer-title { font-size: 31px; }

    .wco-customer-overview-grid,
    .wco-customer-main-grid,
    .wco-customer-account-grid,
    .wco-customer-badge-panel,
    .wco-coupon-modal-grid {
        grid-template-columns: 1fr;
    }

    .wco-customer-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wco-customer-hero,
    .wco-customer-badge-panel,
    .wco-customer-progress-panel,
    .wco-customer-coupons-panel,
    .wco-customer-favorites-panel,
    .wco-customer-account-panel {
        padding: 22px;
        border-radius: 18px;
    }

    .wco-customer-badge-image {
        width: 180px;
        height: 180px;
    }

    .wco-customer-badge-image img {
        max-width: 180px;
        max-height: 180px;
    }

    .wco-account-form-grid,
    .wco-profile-image-uploader {
        grid-template-columns: 1fr;
    }

    .wco-section-actions {
        width: 100%;
    }

    .wco-section-actions .wco-button-secondary {
        width: 100%;
    }

    .wco-coupon-wallet-card {
        grid-template-columns: 1fr;
    }

    .wco-coupon-wallet-media img,
    .wco-coupon-wallet-placeholder {
        width: 100%;
        height: 180px;
    }

    .wco-coupon-wallet-topline,
    .wco-customer-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .wco-coupon-wallet-action {
        width: 100%;
    }

    .wco-coupon-wallet-action .wco-button-secondary,
    .wco-coupon-wallet-action .wco-disabled-pill {
        width: 100%;
    }

    .wco-coupon-modal-dialog {
        margin-top: 5vh;
        padding: 22px;
    }

    .wco-coupon-modal-title { font-size: 24px; }
    .wco-coupon-modal-code { font-size: 24px; }
}

/* ==========================================================
   Homepage showcase
========================================================== */
.wco-homepage-showcase {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 18px 80px;
    color: #171717;
}

.wco-home-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}

.wco-home-hero-copy,
.wco-home-filter-card,
.wco-home-slider-panel,
.wco-home-grid-panel,
.wco-home-value-card {
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.wco-home-hero-copy {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 38px;
    background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.12), transparent 45%), linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.wco-home-hero-copy::after {
    content: '';
    position: absolute;
    inset: auto -70px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.08);
    filter: blur(2px);
}

.wco-home-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.1);
    color: #c53030;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wco-home-hero-copy h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: .98;
    letter-spacing: -0.03em;
}

.wco-home-hero-copy p {
    max-width: 720px;
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
}

.wco-home-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

.wco-home-metric {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.wco-home-metric strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 6px;
}

.wco-home-metric span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.wco-home-filter-card {
    border-radius: 28px;
    padding: 26px;
}

.wco-home-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.wco-home-filter-grid label,
.wco-home-search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wco-home-search-field {
    grid-column: 1 / -1;
}

.wco-home-filter-grid span {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .08em;
    color: #6b7280;
}

.wco-home-filter-grid select,
.wco-home-filter-grid input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    padding: 0 16px;
    box-shadow: none;
}

.wco-home-filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.wco-home-primary-btn,
.wco-home-ghost-btn,
.wco-home-card-cta,
.wco-home-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.wco-home-primary-btn {
    min-height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    box-shadow: 0 14px 35px rgba(239, 68, 68, 0.22);
    color: #fff !important;
    font-weight: 800;
}

.wco-home-primary-btn:hover,
.wco-home-card-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(239, 68, 68, 0.28);
}

.wco-home-ghost-btn {
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    background: #fff6f4;
    color: #e6513d !important;
    font-weight: 700;
}

.wco-home-active-filters {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f0f2f5;
}

.wco-home-active-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .08em;
    color: #9ca3af;
}

.wco-home-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wco-home-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f7f8fa;
    color: #4b5563;
    font-weight: 700;
    font-size: 13px;
}

.wco-home-chip.is-active,
.wco-home-chip.is-search {
    background: rgba(239, 68, 68, 0.08);
    color: #c53030;
}

.wco-home-slider-panel,
.wco-home-grid-panel {
    border-radius: 28px;
    padding: 28px;
    margin-bottom: 26px;
}

.wco-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.wco-home-section-kicker {
    display: block;
    color: #ef4444;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.wco-home-section-head h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
    letter-spacing: -0.03em;
}

.wco-home-section-head p {
    margin: 0;
    max-width: 420px;
    color: #6b7280;
    text-align: right;
    line-height: 1.6;
}

.wco-home-slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 520px;
    background: #0f172a;
}

.wco-home-slider-track {
    display: flex;
    width: 100%;
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}

.wco-home-slide {
    flex: 0 0 100%;
    position: relative;
    min-height: 520px;
}

.wco-home-slide-media,
.wco-home-slide-overlay {
    position: absolute;
    inset: 0;
}

.wco-home-slide-media {
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.wco-home-slide-overlay {
    background: linear-gradient(125deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.45) 45%, rgba(15, 23, 42, 0.18) 100%);
}

.wco-home-slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
    padding: 42px;
    color: #fff;
}

.wco-home-slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.wco-home-slide-meta span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.wco-home-slide-content h3 {
    margin: 0 0 12px;
    max-width: 700px;
    font-size: clamp(34px, 4vw, 62px);
    line-height: .95;
    letter-spacing: -0.04em;
}

.wco-home-slide-description {
    max-width: 700px;
    margin: 0 0 22px;
    font-size: 20px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.wco-home-slide-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.wco-home-slide-pricing {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wco-home-slide-pricing strong {
    font-size: 28px;
    line-height: 1;
}

.wco-home-slide-pricing span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.wco-home-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.wco-home-slider-nav.prev { left: 20px; }
.wco-home-slider-nav.next { right: 20px; }

.wco-home-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.wco-home-slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}

.wco-home-slider-dot.is-active {
    width: 34px;
    background: #fff;
}

.wco-home-value-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.wco-home-value-card {
    border-radius: 22px;
    padding: 24px;
}

.wco-home-value-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.wco-home-value-card span {
    display: block;
    color: #6b7280;
    line-height: 1.7;
}

.wco-home-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.wco-home-offer-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fffdfd 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.wco-home-offer-media {
    display: block;
    min-height: 240px;
    background-size: cover;
    background-position: center;
}

.wco-home-offer-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    height: 100%;
}

.wco-home-offer-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wco-home-offer-topline span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff4f1;
    color: #de4b2d;
    font-weight: 700;
    font-size: 12px;
}

.wco-home-offer-body h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.wco-home-offer-body h3 a {
    color: #101828 !important;
    text-decoration: none;
}

.wco-home-offer-body p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
}

.wco-home-offer-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wco-home-offer-price-row strong {
    color: #138a36;
    font-size: 22px;
}

.wco-home-offer-price-row span {
    color: #ef4444;
    font-weight: 700;
}

.wco-home-offer-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}

.wco-home-offer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wco-home-offer-social .wco-like-toggle,
.wco-home-offer-social .wco-favorite-toggle,
.wco-home-offer-social .wco-share-toggle {
    min-width: 44px;
    min-height: 40px;
    border-radius: 999px;
    padding: 0 12px;
    border: 1px solid #eceff3;
    background: #fff;
    box-shadow: none;
}

.wco-home-card-cta {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    background: #111827;
    color: #fff !important;
    font-weight: 700;
}

.wco-home-text-link {
    color: #ef4444 !important;
    font-weight: 800;
}

.wco-home-empty-state {
    border-radius: 24px;
    background: linear-gradient(135deg, #fff8f6 0%, #ffffff 100%);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    padding: 34px;
    text-align: center;
}

.wco-home-empty-state h3 {
    margin: 0 0 10px;
    font-size: 28px;
}

.wco-home-empty-state p {
    margin: 0 auto;
    max-width: 640px;
    color: #6b7280;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .wco-home-hero-shell,
    .wco-home-value-strip,
    .wco-home-card-grid {
        grid-template-columns: 1fr;
    }

    .wco-home-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .wco-home-section-head p {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .wco-homepage-showcase {
        padding: 14px 14px 54px;
    }

    .wco-home-hero-copy,
    .wco-home-filter-card,
    .wco-home-slider-panel,
    .wco-home-grid-panel,
    .wco-home-value-card {
        border-radius: 22px;
    }

    .wco-home-hero-copy,
    .wco-home-filter-card,
    .wco-home-slider-panel,
    .wco-home-grid-panel {
        padding: 22px;
    }

    .wco-home-hero-copy h1 {
        font-size: 34px;
    }

    .wco-home-hero-metrics,
    .wco-home-filter-grid {
        grid-template-columns: 1fr;
    }

    .wco-home-filter-actions,
    .wco-home-slide-footer,
    .wco-home-offer-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .wco-home-slider,
    .wco-home-slide {
        min-height: 430px;
    }

    .wco-home-slide-content {
        padding: 26px;
    }

    .wco-home-slide-content h3 {
        font-size: 34px;
    }

    .wco-home-slide-description {
        font-size: 16px;
    }

    .wco-home-slider-nav {
        width: 44px;
        height: 44px;
    }

    .wco-home-offer-media {
        min-height: 200px;
    }

    .wco-home-offer-body h3 {
        font-size: 24px;
    }
}

.wco-deals-grid-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.wco-filters-bar {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 auto 24px;
    padding: 20px;
    border: 1px solid #efe7e4;
    border-radius: 20px;
    background: #fffaf8;
    box-sizing: border-box;
}

.wco-filter-field {
    flex: 1 1 220px;
    min-width: 0;
}

.wco-filter-actions {
    display: flex;
    align-items: center;
}

.wco-filters-bar .wco-filter-select {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
}

.wco-filters-bar .wco-filter-search {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #d7c9c3;
    border-radius: 14px;
    background: #ffffff;
    font: inherit;
    box-sizing: border-box;
}

.wco-filters-bar .wco-filter-actions .wco-button-primary {
    min-height: 48px;
}



.wco-customer-dashboard-modern .wco-account-modal {
    z-index: 100000;
}

.wco-customer-dashboard-modern .wco-account-modal .wco-coupon-modal-backdrop {
    z-index: 100001;
}

.wco-customer-dashboard-modern .wco-account-modal .wco-account-modal-dialog {
    position: relative;
    z-index: 100002;
}

.wco-deals-grid-shell,
.wco-deals-grid-shell .wco-filters-bar,
.wco-deals-grid-shell .wco-deals-grid,
.wco-deals-grid-shell .wco-no-deals {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.wco-deals-grid-shell .wco-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.wco-deals-grid-shell .wco-no-deals {
    padding: 32px 20px;
}


/* Coupon wallet live updates */
.wco-customer-dashboard .wco-coupon-live-toast,
.wco-customer-dashboard-modern .wco-coupon-live-toast{
    position:fixed;
    left:50%;
    top:24px;
    transform:translateX(-50%) translateY(-12px);
    background:#16a34a;
    color:#fff;
    padding:14px 18px;
    border-radius:14px;
    box-shadow:0 18px 40px rgba(22,163,74,.28);
    z-index:99999;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
    max-width:min(92vw,420px);
    text-align:center;
    font-weight:700;
}
.wco-customer-dashboard .wco-coupon-live-toast[data-type="error"],
.wco-customer-dashboard-modern .wco-coupon-live-toast[data-type="error"]{background:#dc2626}
.wco-customer-dashboard .wco-coupon-live-toast.is-visible,
.wco-customer-dashboard-modern .wco-coupon-live-toast.is-visible{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}
.wco-customer-dashboard .wco-customer-points-float,
.wco-customer-dashboard-modern .wco-customer-points-float{
    position:fixed;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%) scale(.9);
    background:rgba(22,163,74,.96);
    color:#fff;
    border-radius:999px;
    padding:12px 20px;
    font-size:20px;
    font-weight:800;
    line-height:1;
    box-shadow:0 18px 40px rgba(22,163,74,.28);
    z-index:100000;
    opacity:0;
    pointer-events:none;
    transition:transform .35s ease, opacity .35s ease;
}
.wco-customer-dashboard .wco-customer-points-float.is-visible,
.wco-customer-dashboard-modern .wco-customer-points-float.is-visible{
    opacity:1;
    transform:translate(-50%, -120px) scale(1);
}
.wco-open-coupon.is-disabled,
.wco-open-coupon:disabled{
    opacity:.55;
    cursor:not-allowed;
}

.wco-redeem-actions .wco-button-secondary.wco-scan-now-btn{background:#16a34a !important;color:#fff !important;border:none !important;}
.wco-redeem-actions .wco-button-primary.wco-redeem-submit{background:#2563eb !important;color:#fff !important;border:none !important;}


.wco-wallet-coupon-modal .wco-coupon-modal-dialog{max-height:calc(100vh - 40px);overflow-y:auto;-webkit-overflow-scrolling:touch}
.wco-redeem-success-toast[hidden]{display:none !important}
.wco-redeem-actions .wco-button-secondary.wco-scan-now-btn,.wco-redeem-actions .wco-button-primary.wco-redeem-submit{flex:1 1 0;min-width:220px}
.wco-redeem-actions .wco-button-primary.wco-redeem-submit{display:flex;align-items:center;justify-content:center}

.wco-favorites-list{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}


.wco-customer-redeem-overlay[hidden],
.wco-merchant-success-overlay[hidden],
.wco-merchant-error-overlay[hidden]{display:none !important}

.wco-merchant-success-overlay,
.wco-merchant-error-overlay{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .18s ease}

.wco-merchant-success-overlay.is-visible,
.wco-merchant-error-overlay.is-visible{opacity:1;pointer-events:auto}

.wco-merchant-success-backdrop,
.wco-merchant-error-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48)}

.wco-merchant-success-dialog,
.wco-merchant-error-dialog{position:relative;z-index:1;width:min(92vw,420px);background:#fff;border-radius:24px;box-shadow:0 28px 70px rgba(15,23,42,.26);padding:28px 24px;text-align:center}

.wco-merchant-success-icon,
.wco-merchant-error-icon{width:66px;height:66px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800;margin:0 auto 16px}

.wco-merchant-success-icon{background:#dcfce7;color:#166534}
.wco-merchant-error-icon{background:#fee2e2;color:#b91c1c}

.wco-merchant-success-title,
.wco-merchant-error-title{margin:0 0 10px;font-size:28px;line-height:1.1;color:#0f172a}

.wco-merchant-success-text,
.wco-merchant-error-text{margin:0 0 20px;color:#475569;font-size:16px;line-height:1.55}

.wco-merchant-success-actions,
.wco-merchant-error-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

.wco-merchant-success-actions .wco-button-primary,
.wco-merchant-success-actions .wco-button-secondary,
.wco-merchant-error-actions .wco-button-primary,
.wco-merchant-error-actions .wco-button-secondary{min-width:180px}

@media (max-width: 767px){
  .wco-merchant-success-dialog,
  .wco-merchant-error-dialog{padding:24px 18px;border-radius:20px}
  .wco-merchant-success-title,
  .wco-merchant-error-title{font-size:24px}
  .wco-merchant-success-actions .wco-button-primary,
  .wco-merchant-success-actions .wco-button-secondary,
  .wco-merchant-error-actions .wco-button-primary,
  .wco-merchant-error-actions .wco-button-secondary{width:100%}
}

.wco-customer-redeem-overlay{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .18s ease}
.wco-customer-redeem-overlay.is-visible{opacity:1;pointer-events:auto}
.wco-customer-redeem-overlay-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48)}
.wco-customer-redeem-overlay-dialog{position:relative;z-index:1;width:min(92vw,420px);background:#fff;border-radius:24px;box-shadow:0 28px 70px rgba(15,23,42,.26);padding:28px 24px;text-align:center}
.wco-customer-redeem-overlay-icon{width:66px;height:66px;border-radius:999px;background:#dcfce7;color:#166534;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800;margin:0 auto 16px}
.wco-customer-redeem-overlay-title{margin:0 0 10px;font-size:28px;line-height:1.1;color:#0f172a}
.wco-customer-redeem-overlay-points,
.wco-customer-redeem-overlay-total{margin:0;color:#475569;font-size:16px;line-height:1.55}
.wco-customer-redeem-overlay-points{font-weight:700;color:#166534;margin-bottom:6px}
.wco-customer-redeem-overlay-total{margin-bottom:20px}
.wco-customer-redeem-overlay-close{min-width:150px;border:none !important;cursor:pointer;font-weight:700 !important}
@media (max-width:767px){
  .wco-customer-redeem-overlay-dialog{padding:24px 18px;border-radius:20px}
  .wco-customer-redeem-overlay-title{font-size:24px}
  .wco-customer-redeem-overlay-close{width:100%}
}

@media (max-width: 991px) {
    .single-wco_deal .wco-login-message {
        bottom: calc(96px + env(safe-area-inset-bottom));
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

.wco-home-rating-summary{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;font-size:13px;font-weight:700;color:#111827}
.wco-home-rating-summary .wco-rating-summary-stars{letter-spacing:1px;color:#f59e0b}
.wco-home-slide .wco-home-rating-summary{color:#fff;margin:4px 0 18px}
.wco-home-slide .wco-home-rating-summary .wco-rating-summary-average,.wco-home-slide .wco-home-rating-summary .wco-rating-summary-count{color:#fff}
