.pdp-notify-form {
    visibility: hidden;
}

.pdp-notify-form.customer-data-ready {
    visibility: visible;
}
.product-item:has(.pegasync-upcoming-marker) .actions-primary::after {
    content: "Coming Soon";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    box-sizing: border-box;
}

.product-item:has(.pegasync-upcoming-marker) .stock.unavailable {
    display: none !important;
}

body:has(.pegasync-upcoming-pdp-marker) .product-info-main .stock.unavailable span {
    display: none;
}

body:has(.pegasync-upcoming-pdp-marker) .product-info-main .stock.unavailable::after {
    content: "Coming Soon";
    color: #000;
}

.pegasync-upcoming-stock h2 {
    color: #e02534;
    font-weight: 700;
    line-height: 1.2;
}

.pegasync-upcoming-stock p.release-date {
    color: #000;
    font-size: 16px;
    line-height: 1.5;
}

.pegasync-upcoming-stock p.release-date strong {
    color: #000;
    font-weight: 700;
}

.pegasync-upcoming-stock #pegasync-countdown-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    visibility: hidden;
}

.pegasync-upcoming-stock #pegasync-countdown-box.countdown-ready {
    visibility: visible;
}

.pegasync-upcoming-stock #pegasync-countdown-box .count-item {
    position: relative;
    height: 85px;
    min-width: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff5f5;
    border: 1px solid #e02534;
    transition:transform 0.2s ease,box-shadow 0.2s ease;
    box-sizing: border-box;
}

.pegasync-upcoming-stock #pegasync-countdown-box .count-item span {
    color: #e02534;
    font-size: 30px;
    font-weight: 700;
    line-height: 32px;
}

.pegasync-upcoming-stock #pegasync-countdown-box .count-item small {
    margin-top: 5px;
    color: #e02534;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.pegasync-upcoming-stock #pegasync-countdown-box .count-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
}

.pegasync-upcoming-stock .upcoming-divider {
    height: 1px;
    margin: 20px 0;
    background: #f4c1c7;
}

.pegasync-upcoming-stock .notify-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0;
}

.pegasync-upcoming-stock .notify-icon {
    height: 70px;
    flex: 0 0 70px;
    border-radius: 50%;
    background: #ffe8eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pegasync-upcoming-stock .notify-heading h3 {
    margin: 0;
    color: #000;
    font-size: 22px;
    font-weight: 600;
}

.pegasync-upcoming-stock .notify-heading p {
    margin: 8px 0 0;
    color: #777;
}


/* Bootstrap form controls */

.pegasync-upcoming-stock .notify-form .form-control {
    height: 57px;
}

.pegasync-upcoming-stock .notify-form .form-control:focus {
    border-color: #e02534;
    box-shadow: none;
    outline: none;
}

.pegasync-upcoming-stock .notify-form .notify_button {
    width: 100%;
    height: 57px;
    min-height: 57px;
    border: 0;
    background: #e02534;
    color: #fff;
    font-size:18px;
    font-weight:700;
}

.pegasync-upcoming-stock .notify-form .notify_button:hover {
    background: #d92f3d;
    transform: translateY(-1px);
    box-shadow:none;
}

.pegasync-upcoming-stock .notify-form .notify_button:focus {
    outline: none;
    box-shadow: none;
}


.pegasync-upcoming-stock .notify-icon svg.mail-icon {
    width: 24px;
    height: 24px;
}

.pegasync-upcoming-stock .notify-icon .mail-icon path {
    fill: none;
    stroke: #e02534;
    stroke-width: 1.8;
}

body:has(.pegasync-upcoming-pdp-marker) .product-add-form {
    display: none !important;
}

@media (min-width: 1200px) and (max-width: 1440px) {
    .product-item:has(.pegasync-upcoming-marker) .actions-primary::after {
        font-size:14px;
        padding: 5px 16px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .product-item:has(.pegasync-upcoming-marker) .actions-primary::after {
        font-size:12px;
        padding: 0px 12px;
    }
}

@media (min-width: 855px) and (max-width: 1024px) {

    .pegasync-upcoming-stock h2 {
        font-size: 32px;
    }
    
    .pegasync-upcoming-stock #pegasync-countdown-box {
        gap: 12px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item {
        height: 75px;
        min-width: 75px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item small {
        font-size: 9px;
    }
}

@media (min-width: 768px) and (max-width: 854px) {

    .pegasync-upcoming-stock h2 {
        font-size: 30px;
    }
    
    .pegasync-upcoming-stock #pegasync-countdown-box {
        gap: 10px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item {
        height: 70px;
        min-width: 70px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item span {
        font-size: 26px;
        line-height: 26px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item small {
        font-size: 9px;
    }
    .pegasync-upcoming-stock p.release-date
    {
        font-size:16px;
    }
}

@media (max-width: 767px) {
    .pegasync-upcoming-stock h2 {
        font-size: 30px;
        margin: 10px 0 16px;
    }

    .pegasync-upcoming-stock p.release-date {
        font-size: 14px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box {
        display: flex;
        gap: 10px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item {
        height: 75px;
        min-width: 75px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item span {
        font-size: 30px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item small {
        font-size: 8px;
        line-height: 10px;
        margin-top: 2px;
    }

    .pegasync-upcoming-stock .notify-heading {
        margin-bottom: 10px;
    }

    .pegasync-upcoming-stock .notify-icon {
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        flex: 0 0 60px;
    }
    
    .pegasync-upcoming-stock .notify-heading h3 {
        font-size: 18px;
    }

    .pegasync-upcoming-stock .notify-heading p {
        font-size: 14px;
        line-height: 1.5;
    }

    .pegasync-upcoming-stock .notify-form .form-control {
        height: 50px;
        min-height: 50px;
    }

    .pegasync-upcoming-stock .notify-form .notify_button {
        height: 50px;
        min-height: 50px;
        padding: 0 15px;
        font-size: 16px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box {
        gap: 15px;
    }

    .product-item:has(.pegasync-upcoming-marker) .actions-primary::after {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .pegasync-upcoming-stock #pegasync-countdown-box {
        gap: 8px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item {
        height: 72px;
        min-width: 72px;
    }

    .product-item:has(.pegasync-upcoming-marker) .actions-primary::after {
        font-size:14px;
        height:38px;
    }
}

@media (max-width: 350px) {

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item {
        min-width: 65px;
        height: 65px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item span {
        font-size: 24px;
        line-height: 24px;
    }

    .pegasync-upcoming-stock #pegasync-countdown-box .count-item small {
        font-size: 9px;
    }
}