/* ===========================
   OAS — Order Page Styles
   Mobile-first, cleaned & consistent
=========================== */

/* ---------- wrapper ---------- */
#oas-order-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    font-family: inherit;
}

/* ---------- label above selectors ---------- */
.oas-label {
    color: #e6e6e6;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

/* ---------- selectors row (uses class .oas-select-row) ---------- */
.oas-select-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 22px;
    flex-wrap: nowrap;
}

.oas-select-row > div {
    flex: 1;
    min-width: 0;
}

/* ---------- unified field styles ---------- */
#oas-child,
#oas-date,
#oas-collection {
    width: 100%;
    padding: 12px 12px 12px 42px; /* left room for icon on date */
    background: #1f1f1f;
    border: 1px solid #e6e6e6;
    color: #e6e6e6;
    border-radius: 6px;
    font-size: 15px;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

/* hover / focus */
#oas-child:hover,
#oas-date:hover,
#oas-collection:hover {
    border-color: #888;
}
#oas-child:focus,
#oas-date:focus,
#oas-collection:focus {
    outline: none;
    border-color: #aaa;
    box-shadow: 0 0 0 3px rgba(16,174,195,0.06);
}

/* ---------- date icon ---------- */
.oas-date-wrapper { position: relative; }
.oas-date-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    color: #cfcfcf;
    opacity: 0.95;
}

/* ensure date input has space for icon */
#oas-date { padding-left: 42px; }

/* ---------- category cards (two-col / cards, brand color) ---------- */
#oas-cat-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 18px;
}

.oas-cat-card {
    background: #10aec3; /* brand */
    border: 1px solid rgba(6,96,102,0.15);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 17px;
    text-align: center;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
    box-shadow: 0 3px 8px rgba(16,174,195,0.08);
}

.oas-cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(16,174,195,0.12); }
.oas-cat-card.active { background: #0c9aa5; }

/* mobile: single column for categories */
@media (max-width: 600px) {
    #oas-cat-buttons { grid-template-columns: 1fr; }
}

/* ---------- product list grid ---------- */
#oas-product-list {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* two columns from tablet up */
@media (min-width: 700px) {
    #oas-product-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- product card ---------- */
.oas-product-card {
    background: #292929; /* requested */
    border: 1px solid #444;
    padding: 14px;
    border-radius: 12px;
    color: #e6e6e6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    box-sizing: border-box;
}

.oas-product-card .p-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #c2c2c0;
}

.oas-product-card .p-price {
    font-size: 15px;
    font-weight: 600; /* requested */
    margin-bottom: 12px;
    color: #fecc16;
}

/* add button */
.oas-add {
    display: inline-block;
    width: 100%;
    background: #3a7afe;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background .12s ease, transform .08s ease;
}

.oas-add:hover { background: #1d5de0; transform: translateY(-1px); }

/* ---------- sticky cart ---------- */
#oas-sticky-cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fecc16;
    padding: 12px 18px;
    border-radius: 40px;
    color: #292929;
    font-size: 15px;
    font-weight: 700;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(36,64,100,0.18);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#oas-sticky-cart-btn.hide { display:none; }

/* ---------- responsive tweaks ---------- */
@media (max-width: 900px) {
    .oas-select-row { gap: 10px; }
    .oas-select-row > div { min-width: 0; }
}
@media (max-width: 600px) {
    .oas-select-row { flex-wrap: wrap; }
    .oas-select-row > div { width: 100%; }
}
