
    :root {
        --pro-blue: #007aff;
        --pro-blue-dark: #005bb5;
        --pro-pink: #ff2d55;
        --pro-gold: #e6a800;
        --pro-gold-dark: #c28e00;
        --pro-green: #34c759;

    --pro-bg-outer: #f5f5f7;
    --pro-bg-inner: #ffffff;
    --pro-card-bg: #fbfbfd;
    --pro-border-light: rgba(0, 0, 0, 0.08);
    --pro-text-main: #1d1d1f;
    --pro-text-muted: #86868b;
}

.alibarbar-pro-wrapper,
.alibarbar-pro-wrapper * {
    box-sizing: border-box;
}

.alibarbar-pro-wrapper {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    background-color: var(--pro-bg-outer);
    color: var(--pro-text-main);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
    border-radius: 26px;
    padding: 4px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.pro-content {
    width: 100%;
    background-color: var(--pro-bg-inner);
    border-radius: 22px;
    padding: 38px 30px 34px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.pro-header {
    text-align: center;
    margin-bottom: 26px;
}

/* ===== TOP PROMO COMBINED LAYOUT ===== */
.pro-top-promo {
    background: linear-gradient(135deg, #fff8f8 0%, #fffaf5 45%, #ffffff 100%);
    border: 1px solid rgba(255, 45, 85, 0.16);
    border-radius: 26px;
    padding: 14px;
    box-shadow:
        0 14px 30px rgba(255, 45, 85, 0.06),
        0 0 0 4px rgba(255, 45, 85, 0.03);
}

.pro-top-hero {
    margin-bottom: 14px;
}

.pro-top-hero .pro-hero-image-wrap {
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 20% 20%, rgba(230, 168, 0, 0.16), transparent 36%),
        radial-gradient(circle at 80% 30%, rgba(255, 45, 85, 0.10), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #fbfbfd 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.pro-top-hero .pro-hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: contain;
    background: transparent;
}

.pro-top-body {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    align-items: stretch;
    margin-bottom: 12px;
}

.pro-countdown-card,
.pro-detail-card,
.pro-top-rewards {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--pro-border-light);
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.pro-countdown-card {
    padding: 12px;
    display: flex;
    align-items: stretch;
}

.pro-countdown-card .pro-sale-countdown {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 12px 12px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), transparent 42%),
        linear-gradient(135deg, #fff5f6 0%, #fff9f3 100%);
    border: 2px solid rgba(255, 45, 85, 0.42);
    border-radius: 16px;
    box-shadow:
        0 10px 22px rgba(255, 45, 85, 0.12),
        0 0 0 4px rgba(255, 45, 85, 0.04);
    overflow: hidden;
    position: relative;
}

.pro-detail-card {
    padding: 18px 18px 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pro-detail-card .pro-title {
    font-size: 24px;
    line-height: 1.1;
    margin: 0 0 8px;
    font-weight: 900;
    letter-spacing: -0.4px;
    text-transform: uppercase;
    text-align: left;
}

.pro-detail-card .pro-subtitle {
    max-width: none;
    margin: 0 0 12px;
    color: var(--pro-text-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    text-align: left;
}

.pro-detail-card .pro-price-block {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    margin: 4px 0 8px;
}

.pro-detail-card .pro-price-old {
    font-size: 18px;
    color: var(--pro-text-muted);
    text-decoration: line-through;
    font-weight: 700;
}

.pro-detail-card .pro-price-new {
    font-size: 32px;
    color: var(--pro-pink);
    font-weight: 950;
    letter-spacing: -0.8px;
    line-height: 1;
}

.pro-detail-card .pro-price-currency {
    font-size: 14px;
    color: var(--pro-pink);
    font-weight: 900;
}

.pro-detail-card .pro-mini-note {
    font-size: 12px;
    color: var(--pro-text-muted);
    margin-top: 0;
    margin-bottom: 14px;
    text-align: left;
}

.pro-detail-card .pro-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    width: 100%;
    background: #111;
    color: #fff !important;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    transition: all 0.25s ease;
}

.pro-detail-card .pro-main-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pro-top-rewards {
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.4fr);
    gap: 14px;
    align-items: center;
    text-align: left;
}

.pro-top-rewards-copy {
    min-width: 0;
}

.pro-top-rewards-title {
    font-size: 16px;
    line-height: 1.2;
    margin: 0 0 6px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--pro-text-main);
}

.pro-top-rewards-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--pro-text-muted);
    font-weight: 500;
}

.pro-top-bundle-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    max-width: none;
}

.pro-top-bundle-container .pro-bundle-card {
    min-height: 110px;
    padding: 18px 10px 16px;
}

.pro-top-bundle-container .pro-bundle-title {
    font-size: 13px;
    margin-bottom: 6px;
}

.pro-top-bundle-container .pro-bundle-discount {
    font-size: 18px;
}

.pro-top-bundle-container .pro-bundle-shipping {
    font-size: 10px;
    margin-top: 6px;
}

/* ===== GENERAL ELEMENTS ===== */
.pro-sale-countdown {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 20px;
    padding: 0 16px 14px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), transparent 42%),
        linear-gradient(135deg, #fff5f6 0%, #fff9f3 100%);
    border: 2px solid rgba(255, 45, 85, 0.42);
    border-radius: 18px;
    box-shadow:
        0 12px 26px rgba(255, 45, 85, 0.14),
        0 0 0 4px rgba(255, 45, 85, 0.05);
    overflow: hidden;
    position: relative;
}

.pro-badge {
    width: calc(100% + 24px);
    margin: 0 -12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff2d55 0%, #e3193f 55%, #ff6b35 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 1px;
    padding: 11px 12px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(227, 25, 63, 0.25);
    animation: sale-glow 1.6s ease-in-out infinite;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.pro-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    animation: live-pulse 1.2s infinite;
}

@keyframes sale-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75); }
    70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.pro-title {
    font-size: 34px;
    line-height: 1.12;
    margin: 0 0 8px;
    font-weight: 900;
    letter-spacing: -0.6px;
    text-transform: uppercase;
}

.pro-subtitle {
    max-width: 560px;
    margin: 0 auto 16px;
    color: var(--pro-text-muted);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.pro-price-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 12px;
}

.pro-price-old {
    font-size: 18px;
    color: var(--pro-text-muted);
    text-decoration: line-through;
    font-weight: 700;
}

.pro-price-new {
    font-size: 44px;
    color: var(--pro-pink);
    font-weight: 950;
    letter-spacing: -1.2px;
    line-height: 1;
}

.pro-price-currency {
    font-size: 18px;
    color: var(--pro-pink);
    font-weight: 900;
}

.pro-mini-note {
    font-size: 12px;
    color: var(--pro-text-muted);
    margin-top: -4px;
    margin-bottom: 16px;
}

.pro-hero-link {
    display: block;
    width: 100%;
    max-width: 660px;
    margin: 18px auto 18px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.pro-hero-image-wrap {
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 20%, rgba(230, 168, 0, 0.16), transparent 36%),
        radial-gradient(circle at 80% 30%, rgba(255, 45, 85, 0.10), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #fbfbfd 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.pro-hero-link:hover .pro-hero-image-wrap {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.11);
}

.pro-hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    object-fit: contain;
    background: transparent;
}

.pro-timer-wrapper {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.pro-timer-title {
    font-size: 12px;
    color: #c71539;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.pro-timer-grid {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    justify-content: center;
}

.pro-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pro-timer-box {
    background: linear-gradient(145deg, #252525 0%, #080808 100%);
    color: #fff;
    font-size: 23px;
    font-weight: 950;
    min-width: 54px;
    padding: 8px 7px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pro-timer-label {
    color: #9f1239;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.9px;
}

.pro-timer-colon {
    font-size: 22px;
    color: #e3193f;
    font-weight: 950;
    line-height: 40px;
    animation: colon-blink 1s steps(1, end) infinite;
}

.pro-timer-warning {
    margin: 1px 0 0;
    color: #7f1d1d;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 750;
}

@keyframes colon-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.35; }
}

.pro-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 4px auto 0;
    background: #111;
    color: #fff !important;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    transition: all 0.25s ease;
}

.pro-main-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pro-section {
    margin-top: 30px;
}

.pro-h2 {
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
    margin: 0 0 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.25px;
}

.pro-section-desc {
    max-width: 560px;
    margin: 0 auto 18px;
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
    color: var(--pro-text-muted);
    font-weight: 500;
}

.pro-bundle-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 12px auto 0;
    max-width: 520px;
    justify-content: center;
}

.pro-bundle-card {
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border-light);
    border-radius: 16px;
    padding: 22px 8px;
    text-align: center;
    position: relative;
    transition: all 0.28s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.pro-bundle-card.featured {
    border: 2px solid var(--pro-gold);
    background: linear-gradient(145deg, rgba(230, 168, 0, 0.05) 0%, #ffffff 100%);
    transform: scale(1.035);
    box-shadow: 0 9px 22px rgba(230, 168, 0, 0.13);
}

.pro-bundle-card.ultimate {
    border: 2px solid var(--pro-pink);
    background: linear-gradient(145deg, rgba(255, 45, 85, 0.035) 0%, #ffffff 100%);
}

.pro-bundle-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pro-gold);
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.4px;
}

.pro-bundle-card.ultimate .pro-bundle-tag {
    background: var(--pro-pink);
}

.pro-bundle-title {
    font-size: 14px;
    margin-bottom: 7px;
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--pro-text-main);
}

.pro-bundle-discount {
    font-size: 22px;
    font-weight: 950;
    color: var(--pro-gold-dark);
    display: block;
    line-height: 1.05;
}

.pro-bundle-card.ultimate .pro-bundle-discount {
    color: var(--pro-pink);
}

.pro-bundle-shipping {
    font-size: 11px;
    color: #28a745;
    font-weight: 900;
    margin-top: 7px;
    display: block;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.pro-shipping-disclaimer {
    text-align: center;
    font-size: 11.5px;
    color: var(--pro-text-muted);
    margin-top: 15px;
    font-style: italic;
}

.pro-urgency-zone {
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border-light);
    border-radius: 20px;
    padding: 24px;
    margin-top: 30px;
}

.pro-alert-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color: var(--pro-pink);
    text-align: center;
}

.pro-pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--pro-pink);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 45, 85, 0.45);
    animation: pulse-pro 1.5s infinite;
    flex-shrink: 0;
}

@keyframes pulse-pro {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.35); }
}

.pro-flavour-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pro-border-light);
}

.pro-flavour-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.pro-rank-medal {
    font-size: 24px;
    width: 30px;
    text-align: center;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.pro-rank-num {
    font-size: 18px;
    font-weight: 950;
    color: #d2d2d7;
    width: 30px;
    text-align: center;
    font-style: italic;
    flex-shrink: 0;
}

.pro-flavour-img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: contain;
    background-color: #fff;
    flex-shrink: 0;
    border: 1px solid var(--pro-border-light);
}

.pro-flavour-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pro-flavour-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.2;
}

.pro-flavour-name {
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--pro-text-main);
}

.pro-flavour-status {
    font-size: 9px;
    font-weight: 950;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    flex-shrink: 0;
    letter-spacing: 0.25px;
}

.pro-sales-vol {
    font-size: 11px;
    color: var(--pro-pink);
    font-weight: 800;
    display: block;
    letter-spacing: 0.25px;
}

.status-fire {
    color: #d92037;
    background: rgba(255, 59, 48, 0.1);
}

.status-demand {
    color: var(--pro-blue-dark);
    background: rgba(0, 122, 255, 0.1);
}

.pro-track {
    height: 6px;
    background: #ebebeb;
    border-radius: 999px;
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 3px;
}

.pro-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pro-gold-dark), var(--pro-gold));
    position: relative;
    overflow: hidden;
}

.pro-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { left: -150%; }
    100% { left: 100%; }
}

.pro-flavour-item:nth-child(2) .pro-fill,
.pro-flavour-item:nth-child(3) .pro-fill,
.pro-flavour-item:nth-child(4) .pro-fill {
    background: linear-gradient(90deg, #ff2d55, #ff6b81);
}

.pro-after-flavour-cta-wrap {
    margin-top: 24px;
    text-align: center;
    padding-top: 4px;
}

.pro-after-flavour-note {
    font-size: 13px;
    color: var(--pro-text-muted);
    margin: 0 0 12px;
    line-height: 1.45;
    font-weight: 500;
}

.pro-after-flavour-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--pro-gold), var(--pro-gold-dark));
    color: #fff !important;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(230, 168, 0, 0.26);
    cursor: pointer;
    transition: all 0.25s ease;
}

.pro-after-flavour-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 168, 0, 0.34);
}

.pro-img-full {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pro-trust-badges {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin-top: 15px;
}

.pro-trust-badges img {
    width: calc(50% - 7.5px);
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--pro-border-light);
}

.pro-guarantee-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    background: linear-gradient(135deg, #fbfbfd 0%, #ffffff 100%);
    border: 1px solid var(--pro-border-light);
    border-radius: 18px;
    padding: 14px;
    margin-top: 15px;
}

.pro-guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    min-height: 158px;
    margin: 0;
    padding: 18px 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.065);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.pro-guarantee-item:hover {
    transform: translateY(-2px);
    border-color: rgba(230, 168, 0, 0.34);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.pro-guarantee-icon {
    background: linear-gradient(145deg, #fff9e8 0%, #ffffff 100%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    flex: 0 0 42px;
    border: 1px solid rgba(230, 168, 0, 0.24);
    box-shadow: 0 4px 12px rgba(230, 168, 0, 0.08);
    overflow: hidden;
}

.pro-guarantee-icon img {
    width: 25px;
    height: 25px;
    display: block;
    object-fit: contain;
}

.pro-guarantee-content {
    min-width: 0;
    font-size: 12.5px;
    color: var(--pro-text-muted);
    line-height: 1.5;
}

.pro-guarantee-content strong {
    color: var(--pro-text-main);
    display: block;
    margin-bottom: 5px;
    font-size: 13.5px;
    line-height: 1.3;
    letter-spacing: 0.1px;
}

.pro-contact-card {
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border-light);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    margin-top: 15px;
}

.pro-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    background: rgba(230, 168, 0, 0.12);
    color: var(--pro-gold-dark) !important;
    border: 1px solid rgba(230, 168, 0, 0.20);
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    margin-top: 10px;
    white-space: nowrap;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.pro-email-btn:hover {
    transform: translateY(-2px);
    background: rgba(230, 168, 0, 0.17);
    box-shadow: 0 8px 18px rgba(230, 168, 0, 0.14);
}

.pro-contact-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.pro-contact-actions .pro-email-btn {
    margin-top: 0;
}

.pro-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    background: rgba(37, 211, 102, 0.12);
    color: #168c45 !important;
    border: 1px solid rgba(37, 211, 102, 0.22);
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}



.pro-contact-emoji {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
}

.pro-whatsapp-btn:hover {
    transform: translateY(-2px);
    background: rgba(37, 211, 102, 0.17);
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.14);
}


.pro-scroll-cue {
    margin-top: 28px;
    padding: 18px 16px;
    background: linear-gradient(135deg, rgba(230, 168, 0, 0.09), rgba(255, 45, 85, 0.055));
    border: 1px solid rgba(230, 168, 0, 0.18);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    scroll-margin-top: 16px;
}

.pro-scroll-cue strong {
    font-size: 15px;
    color: var(--pro-text-main);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pro-scroll-cue span {
    color: var(--pro-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.pro-scroll-arrow {
    color: var(--pro-gold-dark);
    font-size: 22px;
    font-weight: bold;
    animation: bounce-down 1.5s infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

@media (min-width: 768px) {
    .pro-bundle-card.featured:hover {
        transform: scale(1.035) translateY(-3px);
    }

    .pro-guarantee-item {
        height: 100%;
    }
}

@media (max-width: 768px) {
    .alibarbar-pro-wrapper {
        max-width: 100%;
        border-radius: 0;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    .pro-content {
        padding: 30px 15px 28px;
        border-radius: 0;
    }

    .pro-top-promo {
        border-radius: 20px;
        padding: 10px;
    }

    .pro-top-hero {
        margin-bottom: 12px;
    }

    .pro-top-hero .pro-hero-image-wrap {
        padding: 8px;
        border-radius: 18px;
    }

    .pro-top-hero .pro-hero-image {
        border-radius: 14px;
    }

    .pro-top-body {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }

    .pro-countdown-card,
    .pro-detail-card,
    .pro-top-rewards {
        border-radius: 16px;
    }

    .pro-countdown-card {
        padding: 10px;
    }

    .pro-countdown-card .pro-sale-countdown {
        padding: 0 10px 10px;
        border-radius: 14px;
    }

    .pro-detail-card {
        padding: 14px 12px 14px;
        text-align: center;
    }

    .pro-detail-card .pro-title {
        font-size: 28px;
        text-align: center;
    }

    .pro-detail-card .pro-subtitle,
    .pro-detail-card .pro-mini-note {
        text-align: center;
    }

    .pro-detail-card .pro-price-block {
        justify-content: center;
    }

    .pro-detail-card .pro-price-new {
        font-size: 38px;
    }

    .pro-detail-card .pro-main-cta {
        width: 100%;
    }

    .pro-top-rewards {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
        text-align: center;
    }

    .pro-top-rewards-copy {
        text-align: center;
    }

    .pro-top-rewards-title {
        font-size: 15px;
    }

    .pro-top-rewards-desc {
        font-size: 12.5px;
    }

    .pro-top-bundle-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .pro-top-bundle-container .pro-bundle-card {
        min-height: auto;
        padding: 16px 8px 14px;
    }

    .pro-top-bundle-container .pro-bundle-title {
        font-size: 12px;
    }

    .pro-top-bundle-container .pro-bundle-discount {
        font-size: 20px;
    }

    .pro-top-bundle-container .pro-bundle-shipping {
        font-size: 9px;
    }

    .pro-title {
        font-size: 30px;
    }

    .pro-sale-countdown {
        padding: 0 12px 12px;
        border-radius: 16px;
    }

    .pro-badge {
        width: calc(100% + 20px);
        margin: 0 -10px 11px;
        padding: 10px 10px;
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .pro-timer-box {
        min-width: 49px;
        font-size: 21px;
    }

    .pro-subtitle {
        font-size: 14px;
    }

    .pro-price-new {
        font-size: 38px;
    }

    .pro-price-old {
        font-size: 16px;
    }

    .pro-price-currency {
        font-size: 16px;
    }

    .pro-hero-link {
        margin: 16px auto 18px;
    }

    .pro-hero-image-wrap {
        padding: 8px;
        border-radius: 20px;
    }

    .pro-hero-image {
        border-radius: 16px;
    }

    .pro-main-cta {
        width: 100%;
        max-width: 340px;
        padding: 14px 18px;
    }

    .pro-bundle-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pro-bundle-card {
        min-height: auto;
        padding: 18px 14px;
    }

    .pro-bundle-card.featured {
        transform: none;
    }

    .pro-bundle-title {
        font-size: 14px;
    }

    .pro-bundle-discount {
        font-size: 24px;
    }

    .pro-bundle-tag {
        font-size: 10px;
        padding: 4px 11px;
    }

    .pro-urgency-zone {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 15px 10px;
    }

    .pro-alert-title {
        grid-column: 1 / -1;
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .pro-flavour-item,
    .pro-flavour-item:last-child {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        align-items: start;
        gap: 7px;
        min-width: 0;
        min-height: 132px;
        margin: 0;
        padding: 11px 9px 10px;
        background: #ffffff;
        border: 1px solid var(--pro-border-light);
        border-radius: 14px;
        box-shadow: 0 5px 14px rgba(0, 0, 0, 0.045);
    }

    .pro-rank-medal,
    .pro-rank-num {
        width: 22px;
        font-size: 17px;
        line-height: 1.2;
    }

    .pro-flavour-content {
        min-width: 0;
        height: 100%;
        gap: 6px;
    }

    .pro-flavour-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        min-width: 0;
    }

    .pro-flavour-name {
        width: 100%;
        max-width: 100%;
        min-height: 29px;
        color: var(--pro-text-main);
        font-size: 11.5px;
        line-height: 1.25;
        white-space: normal;
        overflow: hidden;
        text-overflow: initial;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .pro-flavour-status {
        align-self: flex-start;
        max-width: 100%;
        padding: 3px 6px;
        font-size: 7.5px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .pro-sales-vol {
        min-height: 25px;
        font-size: 9px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .pro-track {
        height: 5px;
        margin-top: auto;
    }

    .pro-after-flavour-cta-wrap {
        grid-column: 1 / -1;
        margin-top: 8px;
    }

    .pro-flavour-img {
        width: 46px;
        height: 46px;
        border-radius: 10px;
    }

    .pro-after-flavour-cta {
        width: 100%;
        padding: 15px 18px;
    }

    .pro-after-flavour-note {
        font-size: 12.5px;
    }

    .pro-trust-badges {
        flex-direction: column;
        gap: 12px;
    }

    .pro-trust-badges img {
        width: 100%;
    }

    .pro-guarantee-box {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
        border-radius: 16px;
    }

    .pro-guarantee-item {
        min-height: 0;
        gap: 12px;
        padding: 15px 13px;
        border-radius: 12px;
    }

    .pro-guarantee-item:hover {
        transform: none;
    }

    .pro-guarantee-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .pro-guarantee-icon img {
        width: 24px;
        height: 24px;
    }

    .pro-guarantee-content {
        font-size: 12.2px;
        line-height: 1.48;
    }

    .pro-guarantee-content strong {
        font-size: 13px;
    }

    .pro-contact-actions {
        flex-direction: column;
        width: 100%;
        gap: 9px;
    }

    .pro-contact-actions .pro-email-btn,
    .pro-contact-actions .pro-whatsapp-btn {
        width: 100%;
        max-width: 340px;
        margin-top: 0;
    }
}




/* ===== VERIFIED REGULAR BUYER REVIEWS ===== */
.ali-reviews,
.ali-reviews * {
    box-sizing: border-box;
}

.ali-reviews {
    --ali-review-pink: #ff2d55;
    --ali-review-gold: #d39a00;
    --ali-review-green: #258a47;
    --ali-review-text: #1d1d1f;
    --ali-review-muted: #74747a;
    --ali-review-border: rgba(0, 0, 0, 0.09);

    width: 100%;
    margin: 30px 0;
    padding: 28px 18px;
    color: var(--ali-review-text);
    background:
        radial-gradient(circle at 5% 5%, rgba(255, 45, 85, 0.05), transparent 28%),
        radial-gradient(circle at 95% 0%, rgba(230, 168, 0, 0.065), transparent 30%),
        #ffffff;
    border: 1px solid var(--ali-review-border);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ali-reviews__header {
    max-width: 650px;
    margin: 0 auto 22px;
    text-align: center;
}

.ali-reviews__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 9px;
    padding: 7px 12px;
    color: var(--ali-review-pink);
    background: rgba(255, 45, 85, 0.075);
    border: 1px solid rgba(255, 45, 85, 0.13);
    border-radius: 999px;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.65px;
    text-transform: uppercase;
}

.ali-reviews__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ali-review-pink);
    box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.10);
}

.ali-reviews__title {
    margin: 0 0 8px;
    font-size: 29px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.55px;
    text-transform: uppercase;
}

.ali-reviews__subtitle {
    margin: 0;
    color: var(--ali-review-muted);
    font-size: 13.5px;
    line-height: 1.55;
    font-weight: 500;
}

.ali-reviews__swipe {
    display: none;
    margin: 0 0 11px;
    color: var(--ali-review-muted);
    font-size: 12px;
    font-weight: 750;
    text-align: center;
}

.ali-reviews__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.ali-review-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--ali-review-border);
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 6px 17px rgba(0, 0, 0, 0.042);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ali-review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 168, 0, 0.3);
    box-shadow: 0 11px 24px rgba(0, 0, 0, 0.07);
}

/*
IMAGE INSERTION:
Each photo card contains a real <img> element.
Replace only its src value with your Shopline image URL.
No class needs to be removed.

The image uses object-fit: contain so the entire customer photo or screenshot
is displayed without cropping. Empty space may appear around unusually tall
or square images, which is intentional.
*/
.ali-review-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(230, 168, 0, 0.055), rgba(255, 45, 85, 0.035)),
        #f7f7f9;
    border-bottom: 1px solid var(--ali-review-border);
}

.ali-review-card__media::before {
    content: "Upload Customer Photo";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: #96969c;
    font-size: 11.5px;
    line-height: 1.4;
    font-weight: 850;
    letter-spacing: 0.25px;
    text-align: center;
}

.ali-review-card__photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #f7f7f9;
}

.ali-review-card--no-image {
    min-height: 310px;
}

.ali-review-card--no-image .ali-review-card__body {
    padding-top: 26px;
}

.ali-review-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 15px 15px;
}

.ali-review-card__stars {
    margin-bottom: 9px;
    color: var(--ali-review-gold);
    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;
}

.ali-review-card__title {
    margin: 0 0 8px;
    color: var(--ali-review-text);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 900;
}

.ali-review-card__text {
    margin: 0 0 17px;
    color: #55555b;
    font-size: 12.5px;
    line-height: 1.58;
    font-weight: 500;
}

.ali-review-card__footer {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(0, 0, 0, 0.065);
}

.ali-review-card__buyer-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.ali-review-card__name {
    color: var(--ali-review-text);
    font-size: 12.5px;
    line-height: 1.2;
    font-weight: 900;
}

.ali-review-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    color: var(--ali-review-green);
    background: rgba(37, 138, 71, 0.09);
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.ali-review-card__verified::before {
    content: "✓";
    font-size: 10px;
}

.ali-reviews__privacy {
    margin: 19px 0 0;
    color: #89898f;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 768px) {
    .ali-reviews {
        margin: 24px 0;
        padding: 25px 0 23px;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .ali-reviews__header {
        padding: 0 16px;
        margin-bottom: 15px;
    }

    .ali-reviews__title {
        font-size: 26px;
    }

    .ali-reviews__subtitle {
        font-size: 13px;
    }

    .ali-reviews__swipe {
        display: block;
        padding: 0 16px;
    }

    .ali-reviews__track {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(82%, 86%);
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scroll-padding-inline: 16px;
        padding: 2px 16px 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ali-reviews__track::-webkit-scrollbar {
        display: none;
    }

    .ali-review-card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .ali-review-card:hover {
        transform: none;
    }

    .ali-review-card__media {
        aspect-ratio: 3 / 4;
    }

    .ali-review-card__body {
        padding: 16px 16px 15px;
    }

    .ali-review-card__text {
        font-size: 13px;
        line-height: 1.56;
    }

    .ali-review-card--no-image {
        min-height: 360px;
    }

    .ali-reviews__privacy {
        padding: 0 16px;
        margin-top: 13px;
    }
}





/* ===== TOP 10 CUSTOMER FAVOURITES — AUTO PRODUCT IMAGES ===== */
.ali-favourite-ranking,
.ali-favourite-ranking * {
    box-sizing: border-box;
}

.ali-favourite-ranking {
    width: 100%;
    margin: 30px 0;
    padding: 30px 18px 26px;
    color: #1d1d1f;
    background:
        radial-gradient(circle at 4% 5%, rgba(230, 168, 0, 0.08), transparent 27%),
        radial-gradient(circle at 96% 8%, rgba(255, 45, 85, 0.055), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ali-favourite-ranking__header {
    max-width: 620px;
    margin: 0 auto 23px;
    text-align: center;
}

.ali-favourite-ranking__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 9px;
    padding: 7px 12px;
    color: #c28e00;
    background: rgba(230, 168, 0, 0.10);
    border: 1px solid rgba(230, 168, 0, 0.18);
    border-radius: 999px;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.65px;
    text-transform: uppercase;
}

.ali-favourite-ranking__eyebrow::before {
    content: "★";
    font-size: 10px;
}

.ali-favourite-ranking__title {
    margin: 0 0 8px;
    font-size: 29px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.55px;
    text-transform: uppercase;
}

.ali-favourite-ranking__subtitle {
    margin: 0;
    color: #74747a;
    font-size: 13.5px;
    line-height: 1.55;
    font-weight: 500;
}

.ali-favourite-ranking__swipe {
    display: none;
    margin: 0 0 11px;
    color: #77777c;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
    text-align: center;
}

.ali-favourite-ranking__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 13px;
}

.ali-favourite-card {
    --fav-accent: #d9a300;
    --fav-soft: rgba(217, 163, 0, 0.11);

    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 100% 0%, var(--fav-soft), transparent 42%),
        #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.085);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 17px rgba(0, 0, 0, 0.042);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ali-favourite-card:hover {
    transform: translateY(-3px);
    border-color: var(--fav-accent);
    box-shadow: 0 11px 24px rgba(0, 0, 0, 0.07);
}

.ali-favourite-card--hero {
    grid-column: span 4;
    min-height: 270px;
    padding: 17px;
}

.ali-favourite-card--compact {
    grid-column: span 3;
    min-height: 215px;
    padding: 14px;
}

.ali-favourite-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.ali-favourite-card__medal {
    font-size: 27px;
    line-height: 1;
}

.ali-favourite-card__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    color: var(--fav-accent);
    background: var(--fav-soft);
    border: 1px solid var(--fav-soft);
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.ali-favourite-card__number {
    color: var(--fav-accent);
    font-size: 32px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -1px;
    opacity: 0.92;
}

.ali-favourite-card__layout {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.88fr);
    align-items: center;
    gap: 12px;
    min-height: 0;
}

.ali-favourite-card--compact .ali-favourite-card__layout {
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 9px;
}

.ali-favourite-card__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.ali-favourite-card__accent {
    width: 42px;
    height: 5px;
    margin-bottom: 13px;
    background: var(--fav-accent);
    border-radius: 999px;
}

.ali-favourite-card__name {
    margin: 0 0 8px;
    color: #1d1d1f;
    font-size: 18px;
    line-height: 1.22;
    font-weight: 950;
    letter-spacing: -0.25px;
}

.ali-favourite-card--compact .ali-favourite-card__name {
    font-size: 14px;
    line-height: 1.25;
}

.ali-favourite-card__desc {
    margin: 0 0 15px;
    color: #68686e;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
}

.ali-favourite-card__tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    padding: 6px 9px;
    color: var(--fav-accent);
    background: var(--fav-soft);
    border: 1px solid var(--fav-soft);
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ali-favourite-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.98), rgba(247, 247, 249, 0.88)),
        #f7f7f9;
    border: 1px solid rgba(0, 0, 0, 0.065);
    border-radius: 14px;
}

.ali-favourite-card__media::before {
    content: "Product image";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #aaaab0;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 750;
    text-align: center;
}

.ali-favourite-card__media.is-loaded::before {
    display: none;
}

.ali-favourite-card__product-link {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ali-favourite-card__product-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: transparent;
    transition: transform 0.25s ease;
}

.ali-favourite-card__product-link:hover .ali-favourite-card__product-image {
    transform: scale(1.035);
}

.ali-favourite-card__unavailable {
    position: relative;
    z-index: 2;
    padding: 8px;
    color: #99999f;
    font-size: 9px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
}

.ali-favourite-ranking__note {
    margin: 19px 0 0;
    color: #89898f;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 900px) and (min-width: 769px) {
    .ali-favourite-card--hero {
        grid-column: span 6;
    }

    .ali-favourite-card--compact {
        grid-column: span 4;
    }
}

@media (max-width: 768px) {
    .ali-favourite-ranking {
        margin: 24px 0;
        padding: 25px 0 23px;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .ali-favourite-ranking__header {
        padding: 0 16px;
        margin-bottom: 15px;
    }

    .ali-favourite-ranking__title {
        font-size: 26px;
    }

    .ali-favourite-ranking__subtitle {
        font-size: 13px;
    }

    .ali-favourite-ranking__swipe {
        display: block;
        padding: 0 16px;
    }

    .ali-favourite-ranking__grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(84%, 88%);
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scroll-padding-inline: 16px;
        padding: 2px 16px 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ali-favourite-ranking__grid::-webkit-scrollbar {
        display: none;
    }

    .ali-favourite-card--hero,
    .ali-favourite-card--compact {
        grid-column: auto;
        min-height: 250px;
        padding: 16px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .ali-favourite-card:hover {
        transform: none;
    }

    .ali-favourite-card__layout,
    .ali-favourite-card--compact .ali-favourite-card__layout {
        grid-template-columns: minmax(0, 1fr) minmax(105px, 0.92fr);
        gap: 12px;
    }

    .ali-favourite-card--compact .ali-favourite-card__name {
        font-size: 17px;
    }

    .ali-favourite-card__desc {
        font-size: 13px;
    }

    .ali-favourite-ranking__note {
        padding: 0 16px;
        margin-top: 13px;
    }
}




/* ===== FALLBACK AFTER-PRODUCTS CONTAINER ===== */
.ali-after-products-fallback {
    width: 100%;
    padding: 34px 0 24px;
}

.ali-after-products-fallback__inner {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.ali-after-products-fallback__inner > .ali-favourite-ranking:first-child,
.ali-after-products-fallback__inner > .ali-reviews:first-child,
.ali-after-products-fallback__inner > .pro-section:first-child {
    margin-top: 0;
}

@media (max-width: 767px) {
    .ali-after-products-fallback {
        padding: 24px 0 0;
    }

    .ali-after-products-fallback__inner {
        max-width: 100%;
        margin: 0;
        padding: 24px 15px 28px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }
}




/* Remove editor-generated blank space immediately before this module. */
.block-main-collection__description > p:first-child:empty,
.block-main-collection__description > p:first-child:has(> br:only-child) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}



/* ===== CATEGORY FAQ — EXTRACTED ACCORDION FRAMEWORK ===== */
.ali-category-faq {
    margin-top: 30px;
}

.ali-category-faq .pro-faq-container {
    width: 100%;
    max-width: 720px;
    margin: 18px auto 0;
}

.ali-category-faq .pro-faq-item {
    margin: 0 0 10px;
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(135deg, #ffffff 0%, #fffdf7 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.ali-category-faq .pro-faq-item:last-child {
    margin-bottom: 0;
}

.ali-category-faq .pro-faq-item:hover {
    border-color: rgba(230, 168, 0, 0.32);
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.055);
}

.ali-category-faq .pro-faq-item[open] {
    border-color: rgba(230, 168, 0, 0.42);
    box-shadow: 0 10px 24px rgba(230, 168, 0, 0.075);
}

.ali-category-faq .pro-faq-q {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 17px 18px;
    color: var(--pro-text-main);
    font-size: 14.5px;
    line-height: 1.35;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.ali-category-faq .pro-faq-q::-webkit-details-marker {
    display: none;
}

.ali-category-faq .pro-faq-q::marker {
    display: none;
    content: "";
}

.ali-category-faq .pro-faq-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    flex: 0 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pro-gold-dark);
    background: rgba(230, 168, 0, 0.10);
    border: 1px solid rgba(230, 168, 0, 0.24);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        color 0.22s ease;
}

.ali-category-faq .pro-faq-item[open] .pro-faq-icon {
    transform: rotate(45deg);
    color: #ffffff;
    background: var(--pro-gold);
}

.ali-category-faq .pro-faq-a {
    margin: 0;
    padding: 0 18px 17px;
    color: var(--pro-text-muted);
    font-size: 13px;
    line-height: 1.58;
    font-weight: 500;
}

.ali-category-faq .pro-faq-a strong {
    color: var(--pro-text-main);
    font-weight: 800;
}

.ali-category-faq .pro-faq-item[open] .pro-faq-a {
    padding-top: 13px;
    border-top: 1px solid rgba(230, 168, 0, 0.15);
}

@media (max-width: 768px) {
    .ali-category-faq {
        margin-top: 24px;
    }

    .ali-category-faq .pro-faq-container {
        max-width: 100%;
        margin-top: 15px;
    }

    .ali-category-faq .pro-faq-item {
        border-radius: 12px;
    }

    .ali-category-faq .pro-faq-item:hover {
        transform: none;
    }

    .ali-category-faq .pro-faq-q {
        gap: 11px;
        padding: 15px 14px;
        font-size: 13.5px;
        line-height: 1.38;
    }

    .ali-category-faq .pro-faq-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        flex-basis: 24px;
        font-size: 17px;
    }

    .ali-category-faq .pro-faq-a {
        padding: 0 14px 15px;
        font-size: 12.5px;
        line-height: 1.55;
    }

    .ali-category-faq .pro-faq-item[open] .pro-faq-a {
        padding-top: 12px;
    }
}




/* =====================================================================
   CATEGORY PAGE — WIDE PURE-WHITE FLAT LAYOUT
   Fixes:
   1. Narrow 820px after-products content below a wide four-column grid.
   2. Double outer frames around ranking/reviews/trust content.
   3. Excessive vertical blank space caused by stacked padding and margins.
   ===================================================================== */

/* ---------- Page-wide white background ---------- */
html,
body,
#MainContent,
.main-content,
.main-collection-container,
theme-main-collection-products {
    background: #ffffff !important;
}

/* ---------- Top promotional description ---------- */
.alibarbar-pro-wrapper {
    max-width: 820px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.pro-content {
    padding: 0 18px 26px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.pro-header {
    margin-bottom: 0 !important;
}

/* Remove the large pink outer frame, while keeping useful inner cards. */
.pro-top-promo {
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.pro-top-hero {
    margin-bottom: 14px !important;
}

.pro-top-hero .pro-hero-image-wrap {
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.pro-top-hero .pro-hero-image {
    border-radius: 16px !important;
}

.pro-countdown-card,
.pro-detail-card,
.pro-top-rewards {
    box-shadow: none !important;
}

.pro-top-rewards {
    margin-bottom: 0 !important;
}

/* ---------- Actual after-products section from the modified theme ---------- */
theme-collection-after-products-content,
.collection-after-products-content,
.collection-after-products-content__outer,
.collection-after-products-content__wrapper,
.ali-after-products-fallback {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 22px 20px 36px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/*
Both the theme target and the page-level fallback are included, so the same
layout is used regardless of which movement method is active.
*/
theme-collection-after-products-content [data-after-products-target],
.collection-after-products-content__inner,
[data-after-products-target],
.ali-after-products-fallback__inner[data-ali-after-products-target],
.ali-after-products-fallback__inner {
    width: min(100%, 1240px) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Prevent a hidden empty theme section from reserving extra height. */
theme-collection-after-products-content:empty,
.collection-after-products-content:empty,
.ali-after-products-fallback:empty,
.collection-after-products-content__inner:empty,
[data-after-products-target]:empty {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ---------- Major modules: no large outer cards ---------- */
.ali-favourite-ranking,
.ali-reviews {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #1d1d1f !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Space between sections, not an empty framed block. */
.ali-reviews,
.ali-category-faq,
.ali-favourite-ranking + .pro-section,
.ali-reviews + .pro-section {
    margin-top: 58px !important;
}

/* Make the ranking visually fill the available width. */
.ali-favourite-ranking__header {
    margin-bottom: 24px !important;
}

.ali-favourite-ranking__grid {
    gap: 16px !important;
}

.ali-favourite-card {
    background:
        radial-gradient(circle at 100% 0%, var(--fav-soft), transparent 42%),
        #fafafa !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ali-favourite-card:hover {
    border: 0 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.055) !important;
}

/* Reviews use the same flat section treatment. */
.ali-review-card {
    background: #fafafa !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ali-review-card:hover {
    border: 0 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.055) !important;
}

.ali-review-card__media {
    background: #f5f5f5 !important;
    border-bottom: 0 !important;
}

/* ---------- FAQ: clean divided rows ---------- */
.ali-category-faq {
    width: 100% !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
}

.ali-category-faq .pro-faq-container {
    max-width: 980px !important;
}

.ali-category-faq .pro-faq-item {
    margin: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #e9e9eb !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ali-category-faq .pro-faq-item:first-child {
    border-top: 1px solid #e9e9eb !important;
}

.ali-category-faq .pro-faq-item[open] {
    background: #fffdf8 !important;
    box-shadow: none !important;
}

/* ---------- Generic content below FAQ ---------- */
theme-collection-after-products-content .pro-section,
.ali-after-products-fallback .pro-section {
    width: 100% !important;
    margin-top: 58px !important;
    padding-top: 0 !important;
    background: #ffffff !important;
    border-top: 0 !important;
}

theme-collection-after-products-content .pro-h2,
.ali-after-products-fallback .pro-h2 {
    color: #1d1d1f !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

theme-collection-after-products-content .pro-h2::after,
.ali-after-products-fallback .pro-h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--pro-gold);
    border-radius: 999px;
}

/* Remove the outer box surrounding the 2 × 2 confidence cards. */
theme-collection-after-products-content .pro-guarantee-box,
.ali-after-products-fallback .pro-guarantee-box {
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

theme-collection-after-products-content .pro-guarantee-item,
.ali-after-products-fallback .pro-guarantee-item {
    background: #fafafa !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Contact block: divider rather than another large card. */
theme-collection-after-products-content .pro-contact-card,
.ali-after-products-fallback .pro-contact-card {
    padding: 24px 0 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-top: 1px solid #eeeeef !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Authorization image remains constrained so it does not become excessively wide. */
theme-collection-after-products-content .pro-img-full,
.ali-after-products-fallback .pro-img-full {
    max-width: 900px !important;
    border: 1px solid #eeeeef !important;
    box-shadow: none !important;
}

/* ---------- Desktop sizing ---------- */
@media (min-width: 1100px) {
    .ali-favourite-card--hero {
        min-height: 285px !important;
        padding: 20px !important;
    }

    .ali-favourite-card--compact {
        min-height: 225px !important;
        padding: 16px !important;
    }

    .ali-favourite-card__name {
        font-size: 20px !important;
    }

    .ali-favourite-card--compact .ali-favourite-card__name {
        font-size: 15px !important;
    }

    .ali-review-card__text {
        font-size: 13px !important;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .pro-content {
        padding: 0 15px 24px !important;
    }

    theme-collection-after-products-content,
    .collection-after-products-content,
    .collection-after-products-content__outer,
    .collection-after-products-content__wrapper,
    .ali-after-products-fallback {
        padding: 18px 15px 30px !important;
    }

    theme-collection-after-products-content [data-after-products-target],
    .collection-after-products-content__inner,
    [data-after-products-target],
    .ali-after-products-fallback__inner {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ali-favourite-ranking,
    .ali-reviews {
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .ali-favourite-ranking__header,
    .ali-reviews__header {
        padding: 0 !important;
    }

    .ali-favourite-ranking__grid,
    .ali-reviews__track {
        padding-left: 0 !important;
        padding-right: 14px !important;
        scroll-padding-inline: 0 !important;
    }

    .ali-reviews,
    .ali-category-faq,
    .ali-favourite-ranking + .pro-section,
    .ali-reviews + .pro-section {
        margin-top: 46px !important;
    }

    theme-collection-after-products-content .pro-section,
    .ali-after-products-fallback .pro-section {
        margin-top: 46px !important;
    }
}


/* Static split: products are a real SHOPLINE section between ranking and reviews. */
.ali-ingot-before .alibarbar-pro-wrapper .pro-content { padding-bottom: 0 !important; }
.ali-ingot-after .alibarbar-pro-wrapper .pro-content { padding-top: 20px !important; }
.ali-ingot-before .ali-favourite-ranking { margin-top: 24px !important; }
.ali-ingot-before .ali-favourite-card__media img { max-width: 100%; }
.ali-ingot-before #ali-ingot-product-image-data { display:none !important; }
.ali-ingot-after .ali-reviews { margin-top: 12px !important; }
@media(max-width:767px){.ali-ingot-after .ali-reviews{margin-top:8px!important}}

/* Rich-text FAQ answers are editable in the Shopline theme editor. */
.ali-category-faq .pro-faq-a > p {
    margin: 0;
}

.ali-category-faq .pro-faq-a > p + p {
    margin-top: 0.65em;
}
