/* Legacy Support & Utility Classes */

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-pink);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Forms */
.input-box {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Grid Utilities */
.box-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography Utilities */
.heading {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Messages */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message span {
    margin-right: 15px;
}

/* Empty State */
.empty {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    color: var(--text-grey);
    border: 1px dashed #ccc;
}
/* -- Discount Badge Variants (shared across shop, category, brand pages) -- */
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.78rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e91e63;
}
.discount-badge--pct   { background:#e91e63; animation:badge-pulse-pink   2s infinite; }
.discount-badge--fixed { background:#ff6f00; animation:badge-pulse-orange 2s infinite; }
.discount-badge--bxgy  { background:#7b1fa2; animation:badge-pulse-purple 2s infinite; }
.discount-badge--ship  { background:#00796b; animation:badge-pulse-teal   2s infinite; }
.discount-badge--promo { background:#1565c0; animation:badge-pulse-blue   2s infinite; }
@keyframes badge-pulse-pink   { 0%,100%{box-shadow:0 0 0 0 rgba(233,30,99,.45)}  70%{box-shadow:0 0 0 7px rgba(233,30,99,0)} }
@keyframes badge-pulse-orange { 0%,100%{box-shadow:0 0 0 0 rgba(255,111,0,.45)} 70%{box-shadow:0 0 0 7px rgba(255,111,0,0)} }
@keyframes badge-pulse-purple { 0%,100%{box-shadow:0 0 0 0 rgba(123,31,162,.45)} 70%{box-shadow:0 0 0 7px rgba(123,31,162,0)} }
@keyframes badge-pulse-teal   { 0%,100%{box-shadow:0 0 0 0 rgba(0,121,107,.45)} 70%{box-shadow:0 0 0 7px rgba(0,121,107,0)} }
@keyframes badge-pulse-blue   { 0%,100%{box-shadow:0 0 0 0 rgba(21,101,192,.45)} 70%{box-shadow:0 0 0 7px rgba(21,101,192,0)} }
.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #7b1fa2;
    color: #fff;
    border-radius: 4px;
    padding: 3px 9px;
    font-size: 0.74rem;
    font-weight: 700;
    margin-top: 4px;
}
.promo-tag.ship { background: #00796b; }
