/* ================================================================
   ICS – Coming Soon Frontend Styles
   ================================================================ */

/* ── Ribbon ──────────────────────────────────────────────────── */

/* Shop loop — ribbon sits inside the li.product */
ul.products li.product {
    position: relative;
}

/* Single product — ribbon sits inside the gallery div */
.woocommerce-product-gallery {
    position: relative;
}

.ics-cs-ribbon {
    position: absolute;
    top: 16px;
    left: 0;
    z-index: 20;
    pointer-events: none;
}

.ics-cs-ribbon span {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B9D, #e05585);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 7px 18px 7px 12px;
    box-shadow: 2px 3px 10px rgba(255,107,157,.45);
    /* Arrow shape pointing right */
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
    min-width: 120px;
    line-height: 1;
}

/* ── Single product notice ───────────────────────────────────── */
.ics-cs-notice {
    background: linear-gradient(135deg, #fff5fa, #f7f4ff);
    border: 2px solid #f0daea;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    color: #555;
    margin: 0 0 20px;
    text-align: center;
}

/* ── Loop button replacement ─────────────────────────────────── */
.ics-cs-loop-btn {
    background: #f0eeff !important;
    color: #6B4FBB !important;
    border: 2px solid #c4b5f4 !important;
    cursor: default !important;
    pointer-events: none;
}

/* ── Notify form ─────────────────────────────────────────────── */
.ics-cs-notify-wrap {
    margin: 20px 0;
}

.ics-cs-form-box {
    background: linear-gradient(135deg, #fff5fa, #f7f4ff);
    border: 2px solid #f0daea;
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ics-cs-form-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 6px;
}
.ics-cs-form-icon { font-size: 30px; flex-shrink: 0; }
.ics-cs-form-header h4 {
    font-size: 17px;
    font-weight: 700;
    color: #6B4FBB;
    margin: 0 0 3px;
}
.ics-cs-form-header p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.ics-cs-input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e8daf0;
    border-radius: 8px;
    font-size: 15px;
    color: #2c2c2c;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s;
}
.ics-cs-input:focus { outline: none; border-color: #FF6B9D; }

.ics-cs-btn {
    width: 100%;
    padding: 13px;
    background: #FF6B9D;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.ics-cs-btn:hover  { background: #e05585; }
.ics-cs-btn:active { transform: scale(.98); }
.ics-cs-btn:disabled { opacity: .6; cursor: not-allowed; }

.ics-cs-privacy {
    font-size: 12px;
    color: #aaa;
    margin: 0;
    text-align: center;
}

#ics-cs-msg {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}
.ics-cs-msg-success { background: #e8f8ef; color: #1a7a40; border: 1px solid #a8d5b9; }
.ics-cs-msg-error   { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c3; }

.ics-cs-already {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0eeff;
    border: 1px solid #c4b5f4;
    border-radius: 10px;
    padding: 14px 18px;
    color: #6B4FBB;
    font-size: 14px;
}
.ics-cs-already span { font-size: 24px; }
.ics-cs-already p { margin: 0; }

@media (max-width: 480px) {
    .ics-cs-form-box { padding: 16px; }
    .ics-cs-form-header { flex-direction: column; gap: 8px; }
}

/* Out-of-stock (Flavour Availability) shop grid button */
.ics-oos-loop-btn {
    background: #d8d8d8 !important;
    color: #888 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 1;
}
.ics-oos-loop-btn:hover {
    background: #d8d8d8 !important;
    color: #888 !important;
}
