/* ── O Re Sakhi Frontend Styles ── */

:root {
    --ors-blue:   #2E86AB;
    --ors-amber:  #F6AE2D;
    --ors-green:  #4CAF50;
    --ors-bg:     #F4F6FA;
    --ors-white:  #FFFFFF;
    --ors-text:   #1A1A2E;
    --ors-muted:  #6B7280;
    --ors-border: #E5E7EB;
    --ors-radius: 14px;
    --ors-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ── Society Browser ── */
.ors-sb-wrapper { padding: 8px 0; }

.ors-sb-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--ors-text);
    margin-bottom: 20px;
}

.ors-sb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.ors-sb-card {
    background: var(--ors-white);
    border: 2px solid var(--ors-border);
    border-radius: var(--ors-radius);
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--ors-text);
    transition: all 0.2s;
    display: block;
}

.ors-sb-card:hover {
    border-color: var(--ors-blue);
    box-shadow: 0 6px 20px rgba(46,134,171,0.15);
    transform: translateY(-3px);
    color: var(--ors-text);
    text-decoration: none;
}

.ors-sb-card-icon { font-size: 28px; display: block; margin-bottom: 8px; }

.ors-sb-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--ors-text);
}

.ors-sb-card p {
    font-size: 11px;
    color: var(--ors-muted);
    margin: 0;
}

.ors-sb-cta {
    color: var(--ors-blue) !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.ors-sb-hidden { display: none !important; }

.ors-sb-back {
    background: none;
    border: none;
    color: var(--ors-blue);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ors-sb-back:hover { text-decoration: underline; }

/* ── Search Form ── */
.ors-search-form { margin-bottom: 20px; }

.ors-search-inner {
    display: flex;
    gap: 0;
    border: 2px solid var(--ors-border);
    border-radius: 50px;
    overflow: hidden;
    background: white;
    transition: border-color 0.2s;
}

.ors-search-inner:focus-within { border-color: var(--ors-blue); }

.ors-search-field {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    background: transparent;
    color: var(--ors-text);
    outline: none;
}

.ors-search-btn {
    background: var(--ors-blue);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}

.ors-search-btn:hover { background: #1a6b8a; }

/* ── Checkout Society Banner ── */
.ors-checkout-society-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #EBF8FF, #F0FDF4);
    border: 1px solid var(--ors-blue);
    border-radius: var(--ors-radius);
    padding: 14px 18px;
    margin-bottom: 20px;
}

.ors-society-icon { font-size: 28px; }

.ors-checkout-society-banner small {
    display: block;
    font-size: 11px;
    color: var(--ors-muted);
    margin-bottom: 2px;
}

.ors-checkout-society-banner strong {
    font-size: 16px;
    color: var(--ors-text);
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .ors-sb-grid { grid-template-columns: repeat(2, 1fr); }
    .ors-sb-card { padding: 16px 10px; }
}
